odmantic_odm_factory#
- class polyfactory.factories.odmantic_odm_factory.OdmanticModelFactory#
Bases:
Generic
[T
],ModelFactory
[T
]Base factory for odmantic models
- __is_base_factory__: bool = True#
Flag dictating whether the factory is a ‘base’ factory. Base factories are registered globally as handlers for types. For example, the ‘DataclassFactory’, ‘TypedDictFactory’ and ‘ModelFactory’ are all base factories.