Skip to content

Commit

Permalink
fix usage of Type
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Apr 1, 2024
1 parent 15d8291 commit f5f6c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motor/core.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class AgnosticClient(AgnosticBaseProperties[_DocumentType]):
self,
host: Optional[Union[str, Sequence[str]]] = None,
port: Optional[int] = None,
document_class: Optional[Type[_DocumentType]] = None,
document_class: Optional[type[_DocumentType]] = None,
tz_aware: Optional[bool] = None,
connect: Optional[bool] = None,
type_registry: Optional[TypeRegistry] = None,
Expand Down

0 comments on commit f5f6c0c

Please sign in to comment.