danielfm / pybreaker

Python implementation of the Circuit Breaker pattern.
BSD 3-Clause "New" or "Revised" License
508 stars 74 forks source link

Missing py.typed Marker #84

Closed lvieirajr closed 8 months ago

lvieirajr commented 10 months ago

Hello, thanks for the great package. When using it with mypy I will get the missing py.typed marker as this is not being exported alongside the package; https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Skipping analyzing "pybreaker": module is installed, but missing library stubs or py.typed marker [import] See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Any way that could be included with the next version?

danielfm commented 8 months ago

Hi.

I'm not familiar with mypy, so do you have the concrete actions on how to fix the issue, or better yet, are you willing to submit a fix for this?

martijnthe commented 8 months ago

See https://github.com/danielfm/pybreaker/pull/86

danielfm commented 8 months ago

I just published 1.0.3 that fixes this issue.

Thanks @martijnthe!