File tree 4 files changed +8
-6
lines changed
samples/basic_alerts/functions
4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -133,4 +133,8 @@ pytest-coverage.txt
133
133
.DS_Store
134
134
135
135
# reference docs
136
- doc /dist
136
+ doc /dist
137
+
138
+ # IDE files
139
+ .idea
140
+ .vscode
Original file line number Diff line number Diff line change 8
8
],
9
9
"python.linting.pylintPath" : " pylint" ,
10
10
"python.envFile" : " ${workspaceFolder}/venv" ,
11
- "python.defaultInterpreterPath" : " ${workspaceFolder}/venv/bin/python3.10" ,
12
11
"editor.formatOnSave" : true ,
13
12
"python.linting.lintOnSave" : true ,
14
13
"python.linting.mypyEnabled" : true ,
Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ def oncallexample(req: https_fn.CallableRequest):
31
31
return "Hello from https on call function example"
32
32
33
33
34
- @pubsub_fn .on_message_published (
35
- topic = "hello" ,)
34
+ @pubsub_fn .on_message_published (topic = "hello" ,)
36
35
def onmessagepublishedexample (
37
36
event : pubsub_fn .CloudEvent [pubsub_fn .MessagePublishedData ]) -> None :
38
37
print ("Hello from pubsub event:" , event )
Original file line number Diff line number Diff line change 7
7
from firebase_functions .alerts import performance_fn
8
8
9
9
10
- @alerts_fn .on_alert_published (alert_type = alerts_fn . AlertType . BILLING_PLAN_UPDATE
11
- )
10
+ @alerts_fn .on_alert_published (
11
+ alert_type = alerts_fn . AlertType . BILLING_PLAN_UPDATE )
12
12
def onalertpublished (
13
13
alert : alerts_fn .AlertEvent [alerts_fn .FirebaseAlertData [
14
14
billing_fn .PlanUpdatePayload ]]
You can’t perform that action at this time.
0 commit comments