How to add type hint to python factory_boy Factory classes?
How to add type hint to python factory_boy Factory classes? Question: So we are working with some existing code where there is an implementation of factories classes from the factory_boy project which create instances of other classes for example class TableFactory(Factory): class Meta: model = Table id = LazyAttribute(lambda x: uuid4()) color = SubFactory(ColorFactory) reference …