Arthur Pastel

Results 62 comments of Arthur Pastel

Thanks @erny for the fix. Do you know if the annotations are still available in the odmantic models with this ?

> > > @art049 It's not a fix, but a hack (or tweak). Annotations should still be available. But I saw that the tests fail. I didn't do a complete...

> Maybe a naive question (I know almost nothing about odmantic internals) but would it be possible to make odmantic work directly with `pydantic.BaseModel`, and not have `Model` at all?...

Thanks, yes support of additional preferences was totally planned. It should be included as well in the find/save method as well but setting it globally on the engine first is...

Hello, you mean to check if the mongo server is up ?

Right now, there is nothing unfortunately. If the database is not there, the motor_client will hang. This is the default behavior of motor but it would be possible to add...

Hello thanks for the feedback :tada:. I didn't really thought yet about GridFS use with odmantic but maybe this issue is the opportunity for starting documenting this :smile: . Basically,...

Hello, unfortunately not yet, the aliases are not enabled :cry: . But it's something that should come soon. The unclear part is about structuring the resulting document with aliases. You...

Hi, can you describe the behavior you would like to have with the current AIOCursor ?

I recently wrote [ODMantic](https://github.com/art049/odmantic) to ease the integration of FastAPI/Pydantic and MongoDB. Basically, it completely bundle all the boilerplate code required to work with Mongo and you can still perform...