diff --git a/hatchet_sdk/workflow.py b/hatchet_sdk/workflow.py index e1a73b9c..e861d53b 100644 --- a/hatchet_sdk/workflow.py +++ b/hatchet_sdk/workflow.py @@ -1,5 +1,5 @@ import functools -from typing import Any, Callable, Union, Protocol, Type, TypeVar, cast +from typing import Any, Callable, Protocol, Type, TypeVar, Union, cast from hatchet_sdk import ConcurrencyLimitStrategy from hatchet_sdk.contracts.workflows_pb2 import ( # type: ignore[attr-defined] @@ -69,7 +69,7 @@ def get_create_opts(self, namespace: str) -> Any: ... version: str timeout: str schedule_timeout: str - sticky: Union[StickyStrategy, None] + sticky: Union[StickyStrategy.Value, None] default_priority: int | None concurrency_expression: ConcurrencyExpression | None