Skip to content

Commit

Permalink
fix: attempting using Union
Browse files Browse the repository at this point in the history
  • Loading branch information
hatchet-temporary committed Nov 28, 2024
1 parent fc207b8 commit 5999db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hatchet_sdk/workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import functools
from typing import Any, Callable, Optional, Protocol, Type, TypeVar, cast
from typing import Any, Callable, Union, Protocol, Type, TypeVar, cast

from hatchet_sdk import ConcurrencyLimitStrategy
from hatchet_sdk.contracts.workflows_pb2 import ( # type: ignore[attr-defined]
Expand Down Expand Up @@ -69,7 +69,7 @@ def get_create_opts(self, namespace: str) -> Any: ...
version: str
timeout: str
schedule_timeout: str
sticky: Optional[StickyStrategy]
sticky: Union[StickyStrategy, None]
default_priority: int | None
concurrency_expression: ConcurrencyExpression | None

Expand Down

0 comments on commit 5999db6

Please sign in to comment.