Skip to content

Enhancement request: Explicit __all__ defining exported names #96

@charles-dyfis-net

Description

@charles-dyfis-net

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions