TypeError: beanie.odm.queries.find.FindOne.update() got multiple values for keyword argument 'response_type' #779
Unanswered
DrOncogene
asked this question in
Question
Replies: 2 comments
-
I haven't used it but I found an example from tests that you can look at. https://github.com/roman-right/beanie/blob/main/tests/odm/query/test_update.py#L198 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I get the same error when trying to use Looking at the source code of the update method, the But indeed, the documentation should be updated to reflect this, or the code to allow the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was getting
TypeError: beanie.odm.queries.find.FindOne.update() got multiple values for keyword argument 'response_type'
while providing response_type argument to the update method. The code snippet is belowBut it was stated in the docs here that the
.update()
and.upsert()
methods can takeresponse_type
arguments.How do I solve this?
Beta Was this translation helpful? Give feedback.
All reactions