Async MongoDB with vanilla Pydantic v2+ - made easy.
MIT License
Bot releases are hidden (Show)
Published by volfpeter 3 months ago
Service.get_objectid_fields()
by @volfpeter in https://github.com/volfpeter/motorhead/pull/11
Full Changelog: https://github.com/volfpeter/motorhead/compare/0.2403.0...v0.2408.0
Changes:
Published by volfpeter 8 months ago
Changes:
UTCDatetime
validation which was broken because Pydantic v2 uses its own tzinfo implementation.black
with ruff
.Published by volfpeter 9 months ago
Changes:
motor
version as there were breaking changes in 3.2.general_plain_validator_function()
method with with_info_plain_validator_function()
in the ObjectId
Pydantic model.Published by volfpeter about 1 year ago
Changes:
Service._mongo_dump()
, it must always convert in "python"
mode.Published by volfpeter about 1 year ago
Just a PyPI project URL update.
Published by volfpeter about 1 year ago
Breaking changes:
Features:
Service.insert_many()
+ related types.Fixes:
None
query handling.Plus added a few new tests and updated the FastAPI example.
Published by volfpeter about 1 year ago
Changes:
Service.create()
and Service.update()
methods.Published by volfpeter about 1 year ago
More documentation updates.
Published by volfpeter about 1 year ago
Just a documentation update for PyPI.
Published by volfpeter about 1 year ago
Added ODM-like query builder and operator implementations (not complete yet).
Published by volfpeter about 1 year ago
Migration of fastapi-motor-oil from Pydantic v1 to v2, and a few minor improvements and fixes.