BeanieODM / beanie

Asynchronous Python ODM for MongoDB
http://beanie-odm.dev/
Apache License 2.0
2.02k stars 215 forks source link

[BUG] Document.json doesn't work with pydantic 2.0 #767

Closed Luc1412 closed 8 months ago

Luc1412 commented 11 months ago

Describe the bug TypeError: dumps_kwargs keyword arguments are no longer supported.

To Reproduce

MyDocument().json()

Expected behavior I get a json of my object

Additional context Add any other context about the problem here.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity.