Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
fix: update sample for task name (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch committed Jun 21, 2021
1 parent c342894 commit b1be2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/snippets/create_http_task.py
Expand Up @@ -76,7 +76,7 @@ def create_http_task(

if task_name is not None:
# Add the name to tasks.
task["name"] = task_name
task["name"] = client.task_path(project, location, queue, task_name)

# Use the client to build and send the task.
response = client.create_task(request={"parent": parent, "task": task})
Expand Down

0 comments on commit b1be2de

Please sign in to comment.