Skip to content

Conversation

@sicoyle
Copy link
Collaborator

@sicoyle sicoyle commented Jun 30, 2025

This PR adds a py.typed marker file and updates myproject.toml to include it in package-data. This signals to type checkers that the package provides inline type annotations, following PEP 561. It improves type-checking support for users of the package, and gives better support in IDEs.

For reference:
https://peps.python.org/pep-0561/#packaging-type-information
https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/

I've also added this in the python sdk for dapr so when we are using their packages, we can benefit from this on a consuming side too :) dapr/python-sdk#812

@yaron2 yaron2 requested review from Cyb3rWard0g and yaron2 as code owners July 1, 2025 14:09
Copy link
Collaborator

@Cyb3rWard0g Cyb3rWard0g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @sicoyle ! 🎉

@yaron2 yaron2 merged commit 8f7b9f5 into dapr:main Jul 7, 2025
6 checks passed
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.

3 participants