logtail-python icon indicating copy to clipboard operation
logtail-python copied to clipboard

Make the package typed

Open RubenVanEldik opened this issue 1 year ago • 3 comments

This PR adds typing support for logtail. This allows other repositories to use the type hints from logtail. Because Mypy does not support Python 3.7 anymore I removed this form the supported versions, there is currently only 1 downloader per week that uses Python 3.7. I also added support for Python 3.12, as this version is already over a year old.

RubenVanEldik avatar Oct 23 '24 12:10 RubenVanEldik

Hi,

Could you please provide an update on whether this PR will be considered for merging? Any feedback or next steps would be greatly appreciated.

Thank you!

RubenVanEldik avatar Dec 11 '24 09:12 RubenVanEldik

Hey @RubenVanEldik, we have your PR in our internal pipeline and we'll update here once we have an update. Thanks!

gyfis avatar Dec 11 '24 12:12 gyfis

Hey I'd like to bump this issue. For anyone wanting quick bypass/fix you can put this in pyproject.toml:

[[tool.mypy.overrides]]
module = ["logtail.*"]
follow_untyped_imports = true

ariel-frischer avatar Feb 10 '25 00:02 ariel-frischer