Skip to content

Commit a2fbddb

Browse files
committed
Fix None default in Pydantic 2
1 parent 020d792 commit a2fbddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch_python_sdk/models/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class IndexBase(CamelBase):
1111
uid: str
12-
primary_key: Optional[str]
12+
primary_key: Optional[str] = None
1313

1414

1515
class IndexInfo(IndexBase):

0 commit comments

Comments
 (0)