File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
appengine/standard_python3/pubsub Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 15
15
runtime : python39
16
16
17
17
# [START gae_standard_pubsub_env]
18
- # [START env]
19
18
env_variables :
20
19
PUBSUB_TOPIC : ' '
21
20
# This token is used to verify that requests originate from your
22
21
# application. It can be any sufficiently random string.
23
22
PUBSUB_VERIFICATION_TOKEN : ' '
24
- # [END env]
25
23
# [END gae_standard_pubsub_env]
Original file line number Diff line number Diff line change 39
39
40
40
41
41
# [START gae_standard_pubsub_index]
42
- # [START index]
43
42
@app .route ("/" , methods = ["GET" , "POST" ])
44
43
def index ():
45
44
if request .method == "GET" :
@@ -58,7 +57,6 @@ def index():
58
57
future = publisher .publish (topic_path , data )
59
58
future .result ()
60
59
return "OK" , 200
61
- # [END index]
62
60
# [END gae_standard_pubsub_index]
63
61
64
62
You can’t perform that action at this time.
0 commit comments