Skip to content

clean: add same args in custom code execute_workflow_and_wait than in generated execute_workflow - #495

Merged
anth2o merged 1 commit into
mainfrom
antoinehoorelbeke/add-missing-parameters-execute-workflow-and-wait
Apr 21, 2026
Merged

clean: add same args in custom code execute_workflow_and_wait than in generated execute_workflow#495
anth2o merged 1 commit into
mainfrom
antoinehoorelbeke/add-missing-parameters-execute-workflow-and-wait

Conversation

@anth2o

@anth2o anth2o commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

The hand-written execute_workflow_and_wait / execute_workflow_and_wait_async methods were missing several parameters that the generated execute_workflow / execute_workflow_async accept (encoded_input, task_queue, retries, server_url, timeout_ms, http_headers).

This aligns both signatures so callers don't lose access to those options when using the convenience wrapper. Also fixes the input type annotation to match (Any instead of Dict[str, Any] | BaseModel).

@anth2o
anth2o marked this pull request as ready for review April 21, 2026 12:18
@anth2o
anth2o requested a review from mistralai-nfau April 21, 2026 12:25
@anth2o
anth2o merged commit 320ddb8 into main Apr 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants