Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit e5bf592

Browse files
committed
fix: 0
1 parent 9535dd1 commit e5bf592

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hatchet_sdk/clients/workflow_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def _init_producer(self) -> None:
119119

120120
t.cancel()
121121
if self.listener:
122-
self.listener.cancel() # type: ignore[attr-defined]
122+
self.listener.cancel() # type: ignore[attr-defined]
123123
await asyncio.sleep(
124124
DEFAULT_WORKFLOW_LISTENER_RETRY_INTERVAL
125125
)

hatchet_sdk/worker/runner/utils/capture_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def filter(self, record: logging.LogRecord) -> bool:
4242
return True
4343

4444

45-
class CustomLogHandler(logging.StreamHandler):
45+
class CustomLogHandler(logging.StreamHandler[Any]):
4646
def __init__(self, event_client: EventClient, stream: StringIO | None = None):
4747
super().__init__(stream)
4848
self.logger_thread_pool = ThreadPoolExecutor(max_workers=1)

0 commit comments

Comments
 (0)