cuddly-jelly-27016
05/15/2025, 12:11 AMflytekit
already has relatively extensive internal type annotations, and is check by mypy
as a linting pass for the library.
The distribution package should include a PEP 561 compatible py.typed
entry, so that consuming applications can access and use this type annotations.
This should be a very minimal change to the existing distribution process.
### Goal: What should the final outcome look like, ideally?
Add py.typed
to the flytekit
distribution, so that mypy
runs in applications consuming flytekit
can consume type annotations during standard check runs.
### Describe alternatives you've considered
We could generate type stubs via mypy
and include in applications or in a stub package, however this introduces drift against the flykite
due to version changes.
### Propose: Link/Inline OR Additional context
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/15/2025, 12:11 AM