Skip to content

Commit dd5e0b6

Browse files
authored
Fixed an issue related to import error of and classes when importing through other module like mypy (confluentinc#1764)
1 parent f360bdf commit dd5e0b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ v2.4.1 is a maintenance release with the following fixes and enhancements:
66

77
- Removed usage of `strcpy` to enhance security of the client (#1745)
88
- Fixed invalid write in `OAUTHBEARER/OIDC` extensions copy (#1745)
9+
- Fixed an issue related to import error of `TopicCollection` and `TopicPartitionInfo` classes when importing through other module like mypy.
910

1011
confluent-kafka-python is based on librdkafka v2.4.1, see the
1112
[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.4.1)

src/confluent_kafka/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
'SerializingProducer', 'TIMESTAMP_CREATE_TIME', 'TIMESTAMP_LOG_APPEND_TIME',
5050
'TIMESTAMP_NOT_AVAILABLE', 'TopicPartition', 'Node',
5151
'ConsumerGroupTopicPartitions', 'ConsumerGroupState', 'Uuid',
52-
'IsolationLevel']
52+
'IsolationLevel', 'TopicCollection', 'TopicPartitionInfo']
5353

5454
__version__ = version()[0]
5555

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy