factories init (tbc)

This commit is contained in:
2026-09-05 11:28:29 +02:00
parent 897cb63401
commit e8a8844b10
4 changed files with 76 additions and 14 deletions
+13
View File
@@ -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