claws / aioprometheus

A Prometheus Python client library for asyncio-based applications
176 stars 21 forks source link

Enhancement request: Explicit __all__ defining exported names #96

Open charles-dyfis-net opened 10 months ago

charles-dyfis-net commented 10 months ago

mypy --strict flags code that tries to use aioprometheus.Counter:

error: Module "aioprometheus" does not explicitly export attribute "Counter"  [attr-defined]

Consider setting __all__ with a list of imported contents that are explicitly re-exported as part of a stable interface.