Skip to content

Add type support via py.typed marker file for PEP561 #147

Closed
@jogo-openai

Description

@jogo-openai

As per PEP561 mypy requires a py.typed file to consider a library typed. https://mypy.readthedocs.io/en/latest/installed_packages.html#creating-pep-561-compatible-packages.

Adding this file will allow folks to take advantage of the typing already present in this module.

Otherwise mypy reports:

Skipping analyzing "multipart.multipart": module is installed, but missing library stubs or py.typed marker [import-untyped]

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