odmantic.config
Bases: ConfigDict
Source code in odmantic/config.py
12 13 14 15 16 17 18 19 |
|
collection
instance-attribute
¶
Customize the collection name associated to the model
indexes
instance-attribute
¶
Define additional indexes for the model
parse_doc_with_default_factories
instance-attribute
¶
Wether to allow populating field values with default factories while parsing documents from the database