Motor-ODM
Motor-ODM copied to clipboard
A MongoDB ODM based on Motor and Pydantic.
Pydantic supports the generation of JSON Schema. This can be used to automatically support the validation of collections. The implementation should support the following: - Enabling/disabling validation via a `validate`...
Mongo collections can contain documents of different shapes. Polymorphic models implement support for having multiple models in one collection. This comes with the following restrictions: - The Collection name must...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 1 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...
Error when using Motor ODM with latest Pydantic 2.8.2 (and maybe earlier) ``` ImportError: cannot import name 'ModelMetaclass' from 'pydantic.main' (/app/.venv/lib/python3.12/site-packages/pydantic/main.py) ``` ```toml dependencies = [ "motor-odm>=0.1.dev0", "motor>=3.5.1", "pydantic>=2.8.2", ]...