Skip to content

Commit 6c2f183

Browse files
authored
pika: BlockingConnection.process_data_events accepts None
This is documented as accepting None (and explicitly checks for it in code.
1 parent e4d32e0 commit 6c2f183

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/pika/pika/adapters/blocking_connection.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class BlockingConnection:
7171
def remove_timeout(self, timeout_id) -> None: ...
7272
def update_secret(self, new_secret, reason) -> None: ...
7373
def close(self, reply_code: int = 200, reply_text: str = "Normal shutdown") -> None: ...
74-
def process_data_events(self, time_limit: int = 0): ...
74+
def process_data_events(self, time_limit: int | None = 0): ...
7575
def sleep(self, duration: float) -> None: ...
7676
def channel(self, channel_number: int | None = None) -> BlockingChannel: ...
7777
@property

0 commit comments

Comments
 (0)