We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d562130 commit 2792b34Copy full SHA for 2792b34
src/typesense/types/collection.py
@@ -225,10 +225,15 @@ class CollectionUpdateSchema(typing.TypedDict):
225
226
"""
227
228
- fields: typing.List[
229
- typing.Union[
230
- RegularCollectionFieldSchema,
231
- ReferenceCollectionFieldSchema,
232
- DropCollectionFieldSchema,
+ fields: typing.NotRequired[
+ typing.List[
+ typing.Union[
+ RegularCollectionFieldSchema,
+ ReferenceCollectionFieldSchema,
233
+ DropCollectionFieldSchema,
234
+ ]
235
]
236
237
+ synonym_sets: typing.NotRequired[typing.List[str]]
238
+ curation_sets: typing.NotRequired[typing.List[str]]
239
+
0 commit comments