Skip to content

Commit

Permalink
Update documents.py
Browse files Browse the repository at this point in the history
Fix update args
  • Loading branch information
CAPITAINMARVEL authored Oct 13, 2024
1 parent ab852d6 commit 916e931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beanie/odm/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,15 +747,15 @@ async def update(
@classmethod
def update_all(
cls,
*args: Union[dict, Mapping],
*args: Union[dict[Any, Any], Mapping],
session: Optional[AsyncIOMotorClientSession] = None,
bulk_writer: Optional[BulkWriter] = None,
**pymongo_kwargs: Any,
) -> UpdateMany:
"""
Partially update all the documents
:param args: *Union[dict, Mapping] - the modifications to apply.
:param args: *Union[dict[Any, Any], Mapping] - the modifications to apply.
:param session: AsyncIOMotorClientSession - motor session.
:param bulk_writer: "BulkWriter" - Beanie bulk writer
:param **pymongo_kwargs: pymongo native parameters for find operation
Expand Down

0 comments on commit 916e931

Please sign in to comment.