Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3f5ad26

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

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎appengine/flexible/tasks/create_app_engine_queue_task.py

Copy file name to clipboardExpand all lines: appengine/flexible/tasks/create_app_engine_queue_task.py
+2-2Lines 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'
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.