Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types per PEP 561 #1103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DavidCain
Copy link

Basic typing support was added recently, exposing return types for
create() and build():
#1059

However, because this package does not expose these types, consumers of
factory-boy cannot leverage the annotations!

Let's ensure that the package exports its types. It's okay for only a
subset of methods to be typed! (In other words, it's still compliant
with PEP 561 to have partial coverage).

Basic typing support was added recently, exposing return types for
`create()` and `build()`:
FactoryBoy#1059

However, because this package does not expose these types, consumers of
`factory-boy` cannot leverage the annotations!

Let's ensure that the package exports its types. It's okay for only a
subset of methods to be typed! (In other words, it's still compliant
with PEP 561 to have partial coverage).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant