Motor-ODM icon indicating copy to clipboard operation
Motor-ODM copied to clipboard

A MongoDB ODM based on Motor and Pydantic.

Results 15 Motor-ODM issues
Sort by recently updated
recently updated
newest added

Hi @codello, I noticed there hasn't been any activity in quite a while. Are you still interested in maintaining it? :) I love the idea but it seems rough around...

Hey there, finally starting to get my feet wet with this library. I'm trying to use your wrapper for updating indices in the database, but the static method `IndexManager.equal` fails...

First of all, congrats for beginning this project! :+1: Here is a suggestion of change that I believe can improve clarity, simplicity and code suggestion (for some IDEs). Plus, it...

code quality

I get the following error from `mypy` when trying to define a document class ``` Class cannot subclass 'Document' (has type 'Any') ``` I'm using pydantic as well, so I...

Sometimes a database schema changes drastically. In those cases it might be simpler to migrate all existing data according to some rules instead of dealing with two different kinds of...

enhancement

The workflows should [automatically](https://github.com/marketplace/actions/automatic-releases) publish tagged versions and mark them as pre-release if appropriate.

enhancement

Motor-ODM should support creating views. A `View` class could be a subclass of `Document` supporting the respective keys in the `Mongo` class. The creation of a view should happen in...

enhancement

Index Generation (#4), Schema Validation (#5) and Migrations (#12) usually happen outside of the standard application context (normally once on startup or manually at some time). To simplify this process...

enhancement

The documentation should include a guide how to use Motor-ODM.

documentation

In a similar way that indexes and validation can be implemented it should be possible to automatically create a capped collection.

enhancement