mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Allow snippetHighlighted to also be nullable
This commit is contained in:
@@ -53,7 +53,7 @@ class AnswerBox(PydanticBaseModel):
|
|||||||
link: Optional[str] = None
|
link: Optional[str] = None
|
||||||
snippet: Optional[str] = None
|
snippet: Optional[str] = None
|
||||||
title: str
|
title: str
|
||||||
snippetHighlighted: List[str]
|
snippetHighlighted: Optional[List[str]] = None
|
||||||
|
|
||||||
|
|
||||||
class PeopleAlsoAsk(PydanticBaseModel):
|
class PeopleAlsoAsk(PydanticBaseModel):
|
||||||
|
|||||||
Reference in New Issue
Block a user