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

Commit e04a237

Browse files
committed
fix: queue types
1 parent 4e40fdb commit e04a237

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hatchet_sdk/worker/action_listener_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class WorkerActionListenerProcess:
5252
actions: List[str]
5353
max_runs: int
5454
config: ClientConfig
55-
action_queue: Queue[Action]
56-
event_queue: Queue[ActionEvent | STOP_LOOP_TYPE]
55+
action_queue: "Queue[Action]"
56+
event_queue: "Queue[ActionEvent | STOP_LOOP_TYPE]"
5757
handle_kill: bool = True
5858
debug: bool = False
5959
labels: dict[str, str | int] = field(default_factory=dict)

hatchet_sdk/worker/runner/run_loop_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class WorkerActionRunLoopManager:
2727
validator_registry: dict[str, WorkflowValidator]
2828
max_runs: int | None
2929
config: ClientConfig
30-
action_queue: Queue[Action | STOP_LOOP_TYPE]
31-
event_queue: Queue[ActionEvent]
30+
action_queue: "Queue[Action | STOP_LOOP_TYPE]"
31+
event_queue: "Queue[ActionEvent]"
3232
loop: asyncio.AbstractEventLoop
3333
handle_kill: bool = True
3434
debug: bool = False

0 commit comments

Comments
 (0)