Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Standardize on CamelCase, reword confusing endpoint name [(#1288)](Go…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsg authored Dec 19, 2017
1 parent 2477d24 commit adf58f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/snippets/pull_queue_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def create_task(project, queue, location):
# Construct the request body.
task = {
'task': {
'pull_message': {
'pullMessage': {
'payload': converted_payload
}
}
Expand Down Expand Up @@ -77,7 +77,7 @@ def pull_task(project, queue, location):

duration_seconds = '600s'
pull_options = {
'max_tasks': 1,
'maxTasks': 1,
'leaseDuration': duration_seconds,
'responseView': 'FULL'
}
Expand Down

0 comments on commit adf58f8

Please sign in to comment.