Skip to content

Commit

Permalink
fix: fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
joein committed Nov 12, 2024
1 parent e5956a1 commit 3f77f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qdrant_client/_pydantic_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def model_fields_set(model: BaseModel) -> set:
return model.__fields_set__


def model_json_schema(model: BaseModel, *args: Any, **kwargs: Any) -> dict[str, Any]:
def model_json_schema(model: BaseModel, *args: Any, **kwargs: Any) -> Dict[str, Any]:
if PYDANTIC_V2:
return model.model_json_schema(*args, **kwargs)
else:
Expand Down

0 comments on commit 3f77f15

Please sign in to comment.