FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[kafka-python] Update to 2.3.2 by srittau · Pull Request #15864 · python/typeshed · GitHub

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

Filter by extension

Filter by extension .pyi  (2) .toml  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion stubs/kafka-python/METADATA.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "2.3.*"
version = "2.3.2"
upstream-repository = "https://github.com/dpkp/kafka-python"
2 changes: 2 additions & 0 deletions stubs/kafka-python/kafka/errors.pyi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class KafkaProtocolError(KafkaError):
class CorrelationIdError(KafkaProtocolError):
retriable: bool

class InvalidReceiveError(KafkaProtocolError): ...

class KafkaTimeoutError(KafkaError):
retriable: bool

Expand Down
18 changes: 11 additions & 7 deletions stubs/kafka-python/kafka/protocol/parser.pyi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
from _typeshed import Incomplete
from collections import deque
from logging import Logger

log: Incomplete
log: Logger

class KafkaProtocol:
in_flight_requests: Incomplete
bytes_to_send: Incomplete
def __init__(self, client_id=None, api_version=None) -> None: ...
def send_request(self, request, correlation_id=None): ...
def send_bytes(self): ...
def receive_bytes(self, data): ...
in_flight_requests: deque[tuple[int, Incomplete]]
bytes_to_send: list[bytes]
def __init__(
self, client_id: str | None = None, api_version: tuple[int, int, int] | None = None, max_frame_size: int = 100000000
) -> None: ...
def send_request(self, request, correlation_id: int | None = None) -> int: ...
def send_bytes(self) -> bytes: ...
def receive_bytes(self, data: bytes) -> list[Incomplete]: ...
Loading

Back | FazBrowse Home | New Git URL