Open sshishov opened 1 year ago
can you check if v0.4.0 fixed the issue?
@youtux sorry, please let me check...
UPDATE: I have checked, it is not the issue anymore (if we are using Factory.create()
and Factory.build()
everywhere, instead of Factory()
The question which I have now, for every factory.Faker(...)
I am getting this error:
Need type annotation for "<field_name>"
How to fight with this one?
can you post the full stack trace, together with the code you are using?
And also I have the problem like this, when I add the type declaration for generic DjangoModelFactory
:
TypeError: type 'DjangoModelFactory' is not subscriptable
I will create a small reproduction repo shortly. Cannot post from our repo as it is private one, sorry ;)
I am getting a lot of this errors:
when apply the type to
DjangoModelFactory