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 46a0687

Browse filesBrowse files
committed
fix versioning errors
1 parent afa072c commit 46a0687
Copy full SHA for 46a0687

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎appengine/flexible/tasks/create_http_task.py

Copy file name to clipboardExpand all lines: appengine/flexible/tasks/create_http_task.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ def create_http_task(project,
2727
# [START cloud_tasks_create_http_task]
2828
"""Create a task for a given queue with an arbitrary payload."""
2929

30-
from google.cloud import tasks
30+
from google.cloud import tasks_v2beta3
3131
from google.protobuf import timestamp_pb2
3232

3333
# Create a client.
34-
client = tasks.CloudTasksClient()
34+
client = tasks_v2beta3.CloudTasksClient()
3535

3636
# TODO(developer): Uncomment these lines and replace with your values.
3737
# project = 'my-project-id'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.