Skip to content

Commit a499ae6

Browse files
committed
Make Pydantic less fussy
1 parent 2562c3a commit a499ae6

File tree

1 file changed

+1
-1
lines changed
  • src/harmony/schemas/requests

1 file changed

+1
-1
lines changed

src/harmony/schemas/requests/text.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Question(BaseModel):
6767
topics_auto: Optional[list] = Field(None, description="Automated list of topics identified by model")
6868
topics_strengths: Optional[dict] = Field(None, description="Automated list of topics identified by model with strength of topic")
6969
nearest_match_from_mhc_auto: Optional[dict] = Field(None, description="Automatically identified nearest MHC match")
70-
closest_catalogue_question_match: CatalogueQuestion = Field(
70+
closest_catalogue_question_match: Optional[CatalogueQuestion] = Field(
7171
None, description="The closest question match in the catalogue for the question"
7272
)
7373
model_config = ConfigDict(

0 commit comments

Comments
 (0)