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

fix: update sample for task name #120

Merged
merged 1 commit into from Jun 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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