We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing TopicCollection as
from confluent_kafka import TopicCollection
raises:
error: Module "confluent_kafka" has no attribute "TopicCollection"
The type is not listed in __all__ at
__all__
confluent-kafka-python/src/confluent_kafka/__init__.py
Line 25 in 5a87879
The text was updated successfully, but these errors were encountered:
I am not facing this issue. Can you please provide the output of confluent_kafka.version() command and also the python version you are using.
confluent_kafka.version()
Sorry, something went wrong.
I'm sorry, this was not ImportError, but mypy's complaint:
error: Module "confluent_kafka" does not explicitly export attribute "TopicCollection" [attr-defined]
Python: 3.12.1 Confluent-Kafka version: ('2.3.0', 33751040)
Got it. I will investigate and update here. No harm in adding in all though. Will raise a PR soon.
Successfully merging a pull request may close this issue.
Importing TopicCollection as
raises:
The type is not listed in
__all__
atconfluent-kafka-python/src/confluent_kafka/__init__.py
Line 25 in 5a87879
The text was updated successfully, but these errors were encountered: