You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type "SubFactory" cannot be assigned to parameter "model" of type "Type[Model] | Model" in function "get_for_model"
Type "SubFactory" cannot be assigned to type "Type[Model] | Model"
Type "SubFactory" cannot be assigned to type "Type[Model]"
"SubFactory" is incompatible with "Model"
I poked at a bit, resulting in #988, but I don't use Django much, so still wasn't quite sure what needed to happen to fix these.
The text was updated successfully, but these errors were encountered:
jeffwidman
changed the title
Django test example references missing member
Example Django test code references missing member
Oct 27, 2022
factory_boy/examples/django_demo/generic_foreignkey/tests.py
Line 19 in edb6c2e
results in Pylance complaining:
Similarly:
factory_boy/examples/django_demo/generic_foreignkey/tests.py
Line 22 in edb6c2e
results in Pylance complaining:
I poked at a bit, resulting in #988, but I don't use
Django
much, so still wasn't quite sure what needed to happen to fix these.The text was updated successfully, but these errors were encountered: