10000 Update cloud tasks library version (#2072) · niralkk/python-docs-samples@3f5ad26 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f5ad26

Browse files
authored
Update cloud tasks library version (GoogleCloudPlatform#2072)
1 parent 0d07424 commit 3f5ad26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appengine/flexible/tasks/create_app_engine_queue_task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def create_task(project, queue, location, payload=None, in_seconds=None):
2222
# [START cloud_tasks_appengine_create_task]
2323
"""Create a task for a given queue with an arbitrary payload."""
2424

25-
from google.cloud import tasks_v2beta3
25+
from google.cloud import tasks_v2
2626
from google.protobuf import timestamp_pb2
2727

2828
# Create a client.
29-
client = tasks_v2beta3.CloudTasksClient()
29+
client = tasks_v2.CloudTasksClient()
3030

3131
# TODO(developer): Uncomment these lines and replace with your values.
3232
# project = 'my-project-id'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Flask==1.0.2
22
gunicorn==19.9.0
3-
google-cloud-tasks==0.4.0
3+
google-cloud-tasks==0.6.0

0 commit comments

Comments
 (0)
0