Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixes

- Ensure normalize.schemas config is passed during Protobuf ref lookup #2214
- Fix type annotations for context manager hooks so that they are correct for subclasses (#2181)


## v2.13.2 - 2026-03-02
Expand Down
4 changes: 2 additions & 2 deletions src/confluent_kafka/cimpl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ class Producer:
def set_sasl_credentials(self, username: str, password: str) -> None: ...
def __len__(self) -> int: ...
def __bool__(self) -> bool: ...
def __enter__(self) -> "Producer": ...
def __enter__(self) -> Self: ...
def __exit__(self, exc_type: Any, exc_value: Any, exc_traceback: Any) -> Optional[bool]: ...

class Consumer:
Expand Down Expand Up @@ -525,7 +525,7 @@ class Consumer:
) -> None: ...
def committed(self, partitions: List[TopicPartition], timeout: float = -1) -> List[TopicPartition]: ...
def close(self) -> None: ...
def __enter__(self) -> "Consumer": ...
def __enter__(self) -> Self: ...
def __exit__(self, exc_type: Any, exc_value: Any, exc_traceback: Any) -> Optional[bool]: ...
def list_topics(self, topic: Optional[str] = None, timeout: float = -1) -> Any: ...
def offsets_for_times(self, partitions: List[TopicPartition], timeout: float = -1) -> List[TopicPartition]: ...
Expand Down