Skip to content

Add typing support #1408

Open
Open
@palfrey

Description

@palfrey

Description

Currently, if you run mypy with a project with this in, you get error: Skipping analyzing "confluent_kafka.admin": module is installed, but missing library stubs or py.typed marker [import] or similar. https://mypy.readthedocs.io/en/stable/installed_packages.html has a guide on the ways to fix this.

How to reproduce

mypy <some code that uses confluent_kafka>

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()): 1.9.2
  • Apache Kafka broker version:
  • Client configuration: {...}
  • Operating system:
  • Provide client logs (with 'debug': '..' as necessary)
  • Provide broker log excerpts
  • Critical issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions