Skip to content

Commit 5140315

Browse files
authored
fix: use lod-style Optional for case Optional[None] (#548)
1 parent ee91ae8 commit 5140315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/cli/worker/process_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def __init__(
159159
self,
160160
args: WorkerArgs,
161161
worker_function: Callable[[WorkerArgs], None],
162-
observer: Observer | None = None, # type: ignore[valid-type]
162+
observer: "Observer | None" = None, # type: ignore[valid-type]
163163
) -> None:
164164
self.worker_function = worker_function
165165
self.action_queue: Queue[ProcessActionBase] = Queue(-1)

0 commit comments

Comments
 (0)