Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Dec 10, 2024
1 parent 30f16d6 commit aa60b0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iwf/client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import inspect
import warnings
from typing import Any, Callable, Optional, Type, TypeVar, Union

from mypy.typeshed.stdlib.warnings import deprecated

from iwf.client_options import ClientOptions
from iwf.errors import InvalidArgumentError
from iwf.registry import Registry
Expand Down Expand Up @@ -95,7 +96,7 @@ def start_workflow(
wf_type, wf_id, starting_state_id, timeout_seconds, input, unreg_opts
)

@warnings.deprecated("use wait_for_workflow_completion instead")
@deprecated("use wait_for_workflow_completion instead")
def get_simple_workflow_result_with_wait(
self,
workflow_id: str,
Expand Down

0 comments on commit aa60b0a

Please sign in to comment.