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

Commit 49693cd

Browse files
committed
fix: rm a couple type: ignore comments
1 parent ab40bdd commit 49693cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hatchet_sdk/hatchet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def workflow(
4848
version: str = "",
4949
timeout: str = "60m",
5050
schedule_timeout: str = "5m",
51-
sticky: Union[StickyStrategy.Value, None] = None, # type: ignore[name-defined]
51+
sticky: Union[StickyStrategy, None] = None,
5252
default_priority: int | None = None,
5353
concurrency: ConcurrencyExpression | None = None,
5454
input_validator: Type[T] | None = None,

hatchet_sdk/worker/runner/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from hatchet_sdk.clients.dispatcher.dispatcher import new_dispatcher
2020
from hatchet_sdk.clients.run_event_listener import new_listener
2121
from hatchet_sdk.clients.workflow_listener import PooledWorkflowRunListener
22-
from hatchet_sdk.context import Context # type: ignore[attr-defined]
22+
from hatchet_sdk.context.context import Context
2323
from hatchet_sdk.context.worker_context import WorkerContext
2424
from hatchet_sdk.contracts.dispatcher_pb2 import (
2525
GROUP_KEY_EVENT_TYPE_COMPLETED,

hatchet_sdk/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_create_opts(self, namespace: str) -> Any: ...
9393
version: str
9494
timeout: str
9595
schedule_timeout: str
96-
sticky: Union[StickyStrategy.Value, None] # type: ignore[name-defined]
96+
sticky: Union[StickyStrategy, None]
9797
default_priority: int | None
9898
concurrency_expression: ConcurrencyExpression | None
9999
input_validator: Type[BaseModel] | None

0 commit comments

Comments
 (0)