from polyfactory.factories.pydantic_factory import ModelFactory from src.models import B4wExport DEFAULT_CATEGORY = "root_category:parent_category:leaf_category" class B4wExportFactory(ModelFactory[B4wExport]): ...