Skip to content

Commit e892831

Browse files
committed
fix: workflow can send args
1 parent f93de9b commit e892831

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

quickstart/hello_world/app/workflow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ async def run(self, workflow_config: Dict[str, Any]) -> None:
4242
start_to_close_timeout=timedelta(seconds=10),
4343
)
4444

45+
if workflow_config:
46+
workflow_args.update(workflow_config)
47+
4548
name: str = workflow_args.get("name", "John Doe")
4649
logger.info("Starting hello world workflow")
4750

0 commit comments

Comments
 (0)