Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions temporalio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ async def start_workflow(
args: Sequence[Any] = [],
id: str,
task_queue: str,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
execution_timeout: Optional[timedelta] = None,
run_timeout: Optional[timedelta] = None,
task_timeout: Optional[timedelta] = None,
Expand Down Expand Up @@ -491,7 +491,7 @@ async def start_workflow(
args: Sequence[Any] = [],
id: str,
task_queue: str,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
execution_timeout: Optional[timedelta] = None,
run_timeout: Optional[timedelta] = None,
task_timeout: Optional[timedelta] = None,
Expand Down Expand Up @@ -737,7 +737,7 @@ async def execute_workflow(
args: Sequence[Any] = [],
id: str,
task_queue: str,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this one (and the concrete impl's signature) be left as type too instead of changing to Any?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely, not sure how I missed those the first go around 😅

execution_timeout: Optional[timedelta] = None,
run_timeout: Optional[timedelta] = None,
task_timeout: Optional[timedelta] = None,
Expand Down Expand Up @@ -772,7 +772,7 @@ async def execute_workflow(
args: Sequence[Any] = [],
id: str,
task_queue: str,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
execution_timeout: Optional[timedelta] = None,
run_timeout: Optional[timedelta] = None,
task_timeout: Optional[timedelta] = None,
Expand Down
8 changes: 4 additions & 4 deletions temporalio/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2210,7 +2210,7 @@ def start_activity(
*,
args: Sequence[Any] = [],
task_queue: Optional[str] = None,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
schedule_to_close_timeout: Optional[timedelta] = None,
schedule_to_start_timeout: Optional[timedelta] = None,
start_to_close_timeout: Optional[timedelta] = None,
Expand All @@ -2230,7 +2230,7 @@ def start_activity(
*,
args: Sequence[Any] = [],
task_queue: Optional[str] = None,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
schedule_to_close_timeout: Optional[timedelta] = None,
schedule_to_start_timeout: Optional[timedelta] = None,
start_to_close_timeout: Optional[timedelta] = None,
Expand Down Expand Up @@ -2426,7 +2426,7 @@ async def execute_activity(
*,
args: Sequence[Any] = [],
task_queue: Optional[str] = None,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
schedule_to_close_timeout: Optional[timedelta] = None,
schedule_to_start_timeout: Optional[timedelta] = None,
start_to_close_timeout: Optional[timedelta] = None,
Expand All @@ -2446,7 +2446,7 @@ async def execute_activity(
*,
args: Sequence[Any] = [],
task_queue: Optional[str] = None,
result_type: Optional[Type] = None,
result_type: Optional[Any] = None,
schedule_to_close_timeout: Optional[timedelta] = None,
schedule_to_start_timeout: Optional[timedelta] = None,
start_to_close_timeout: Optional[timedelta] = None,
Expand Down