You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it a bug in passing kwargs to await collection.update_one( filter_kwargs, kwargs, session=session ) should not it be await collection.update_one( filter_kwargs, **kwargs, session=session ) or am I getting something wrong?
Ref: Source code
The text was updated successfully, but these errors were encountered:
Hi, I am having trouble to update a document.
My model:
Usage:
Is it a bug in passing
kwargs
toawait collection.update_one( filter_kwargs, kwargs, session=session )
should not it beawait collection.update_one( filter_kwargs, **kwargs, session=session )
or am I getting something wrong?Ref: Source code
The text was updated successfully, but these errors were encountered: