Open
Description
I can't seem to have PyCharm play nice with the objects generated by Factory Boy; it would be nice to either automatically support type hinting somehow (ideally, it would simply be the model defined as a base for the factory) or at least add some documentation to explain how to have type checkers understand that,
after p = PersonFactory()
, variuable p
is actually an instance of Person
rather than of PersonFactory
.
(Note: I'm not submitting a PR because I haven't figured out a solution)