Skip to content

Commit

Permalink
fix: fix linting issues on local
Browse files Browse the repository at this point in the history
  • Loading branch information
hatchet-temporary committed Dec 17, 2024
1 parent 1041676 commit e87b24f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hatchet_sdk/clients/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def put_rate_limit(
self,
key: str,
limit: int,
duration: Union[RateLimitDuration, str] = RateLimitDuration.SECOND,
duration: Union[RateLimitDuration.Value, str] = RateLimitDuration.SECOND,
):
try:
self.client.PutRateLimit(
Expand Down
2 changes: 1 addition & 1 deletion hatchet_sdk/hatchet.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def workflow(
version: str = "",
timeout: str = "60m",
schedule_timeout: str = "5m",
sticky: Union[StickyStrategy, None] = None,
sticky: Union[StickyStrategy.Value, None] = None, # type: ignore[name-defined]
default_priority: int | None = None,
concurrency: ConcurrencyExpression | None = None,
input_validator: Type[T] | None = None,
Expand Down
2 changes: 1 addition & 1 deletion hatchet_sdk/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,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] # type: ignore[name-defined]
default_priority: int | None
concurrency_expression: ConcurrencyExpression | None
input_validator: Type[BaseModel] | None
Expand Down

0 comments on commit e87b24f

Please sign in to comment.