Skip to content


Browse files Browse the repository at this point in the history
fix: update sample for task name (#120)
  • 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/
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.