Skip to content

Commit e498387

Browse files
chore: add region tags to workflows quickstart (GoogleCloudPlatform#10537)
* chore: add workflows quickstart region tags * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b0e4df4 commit e498387

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

workflows/cloud-client/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ def execute_workflow(
3636
Returns:
3737
The execution response.
3838
"""
39-
39+
# [START workflows_api_quickstart_client_libraries]
4040
# Set up API clients.
4141
execution_client = executions_v1.ExecutionsClient()
4242
workflows_client = workflows_v1.WorkflowsClient()
43-
43+
# [END workflows_api_quickstart_client_libraries]
44+
# [START workflows_api_quickstart_execution]
4445
# Construct the fully qualified location path.
4546
parent = workflows_client.workflow_path(project, location, workflow)
4647

@@ -66,6 +67,7 @@ def execute_workflow(
6667
print(f"Execution finished with state: {execution.state.name}")
6768
print(f"Execution results: {execution.result}")
6869
return execution
70+
# [END workflows_api_quickstart_execution]
6971

7072

7173
# [END workflows_api_quickstart]

0 commit comments

Comments
 (0)