-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Update pub/sub - appengine push request sample #10747
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
Conversation
Here is the summary of changes. You are about to add 1 region tag.
You are about to delete 1 region tag.This comment is generated by snippet-bot.
|
# [END gae_standard_pubsub_auth_push] | ||
|
||
# [START push] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: It looks as if push
region tag was supposed to be changed to gae_standard_pubsub_auth_push
which follows proper naming standard (prefix with product name). If you'd like to have two different samples please use a proper region tag instead of push
(for example gae_standard_pubsub_push
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the guidance and reviewing! I fix it now per your suggestion now
/gcbrun |
Change regional tag - per prefix naming convention
url, | ||
data=json.dumps( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines and a few others are causing linting errors. Please run nox -s lint
on this file and the lint checks should pass ✨
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jwdjj it looks like this is still blocked on lint:
./main_test.py:110:5: E122 continuation line missing indentation or outdented
url,
^
./main_test.py:111:5: E122 continuation line missing indentation or outdented
data=json.dumps(
^
./main_test.py:140:5: E303 too many blank lines (2)
# no token
^
Description
Fixes #
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
nox -s py-3.9
(see Test Environment Setup)nox -s lint
(see Test Environment Setup)