v0.9.0
Added
-
Create new generic types to support generic collection types (#240 by @erny & @art049)
Thus, it's now possible to define models like this in python 3.9+ 🚀:
class User(Model): scopes: list[str] friendsIds: list[ObjectId] skills: set[str]
-
Allow using generators with
in_
andnot_in
(#270 by @art049)