Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cloud Tasks library version #2516

Merged
merged 2 commits into from Nov 7, 2019
Merged
Show file tree
Hide file tree
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 appengine/flexible/tasks/requirements.txt
@@ -1,4 +1,4 @@
Flask==1.1.1
gunicorn==19.9.0
google-cloud-tasks==1.2.1
google-cloud-tasks==1.3.0
googleapis-common-protos==1.6.0
4 changes: 2 additions & 2 deletions tasks/create_http_task.py
Expand Up @@ -27,11 +27,11 @@ def create_http_task(project,
# [START cloud_tasks_create_http_task]
"""Create a task for a given queue with an arbitrary payload."""

from google.cloud import tasks_v2beta3
from google.cloud import tasks_v2
from google.protobuf import timestamp_pb2

# Create a client.
client = tasks_v2beta3.CloudTasksClient()
client = tasks_v2.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
# project = 'my-project-id'
Expand Down
4 changes: 2 additions & 2 deletions tasks/create_http_task_with_token.py
Expand Up @@ -27,11 +27,11 @@ def create_http_task(project,
# [START cloud_tasks_create_http_task_with_token]
"""Create a task for a given queue with an arbitrary payload."""

from google.cloud import tasks_v2beta3
from google.cloud import tasks_v2
from google.protobuf import timestamp_pb2

# Create a client.
client = tasks_v2beta3.CloudTasksClient()
client = tasks_v2.CloudTasksClient()

# TODO(developer): Uncomment these lines and replace with your values.
# project = 'my-project-id'
Expand Down
2 changes: 1 addition & 1 deletion tasks/requirements.txt
@@ -1,2 +1,2 @@
google-cloud-tasks==1.2.1
google-cloud-tasks==1.3.0
googleapis-common-protos==1.6.0