prometheus-fastapi-instrumentator
prometheus-fastapi-instrumentator copied to clipboard
Add py.typed
This allows mypy to use the present type annotations in packages using an installed prometheus-fastapi-instrumentator.
I think you also need to add include = ["prometheus_fastapi_instrumentator/py.typed"]
in the pyproject :thinking:
It was included in the built sdist and wheel, but I'm not sure how Poetry determines what to include by default, so I added the include
. Thanks.
Thanks
According to this blogpost adding the file in pyproject.toml is not necessary https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/