TypeError: BaseDocument.update() takes 2 positional arguments but 3 were given
After new version up gradation system showing the above error.
TypeError: BaseDocument.update() takes 2 positional arguments but 3 were given
After new version up gradation system showing the above error.
Find where your code uses update(). It might be in a custom script or app. Look for something like doc.update(“field”, “value”). this is the problem because it’s passing 2 things (“field” and “value”) instead of 1