Skip to content

Commit

Permalink
fix init_beanie document_models type hint (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
barraponto committed Dec 3, 2023
1 parent 8208754 commit 4355b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beanie/odm/utils/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ async def init_beanie(
database: AsyncIOMotorDatabase = None,
connection_string: Optional[str] = None,
document_models: Optional[
List[Union[Type["DocType"], Type["View"], str]]
List[Union[Type[Document], Type["View"], str]]
] = None,
allow_index_dropping: bool = False,
recreate_views: bool = False,
Expand Down

0 comments on commit 4355b8e

Please sign in to comment.