diff --git a/appengine/flexible/tasks/snippets.py b/appengine/flexible/tasks/snippets.py index 9f4183197da..eaf34280511 100644 --- a/appengine/flexible/tasks/snippets.py +++ b/appengine/flexible/tasks/snippets.py @@ -221,6 +221,7 @@ def pause_queue(project, location, queue): def delete_queue(project, location, queue): + # [START taskqueues_deleting_queues] client = tasks.CloudTasksClient() # TODO(developer): Uncomment these lines and replace with your values. @@ -228,7 +229,6 @@ def delete_queue(project, location, queue): # location = 'us- central1' # queue = 'queue1' - # [START taskqueues_deleting_queues] queue_path = client.queue_path(project, location, queue) response = client.delete_queue(queue_path) # [END taskqueues_deleting_queues]