factories init (tbc)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/python
|
||||
|
||||
from polyfactory.factories.pydantic_factory import ModelFactory
|
||||
|
||||
from src.models import B4wExport
|
||||
|
||||
CATEGORIES = [
|
||||
"single_category",
|
||||
"root_category:parent_category:leaf_category",
|
||||
]
|
||||
|
||||
class B4wExportFactory(ModelFactory[B4wExport]):
|
||||
__model__ = B4wExport
|
||||
Reference in New Issue
Block a user