File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
samples/basic_alerts/functions Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -133,4 +133,8 @@ pytest-coverage.txt
133133.DS_Store
134134
135135# 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 88 ],
99 "python.linting.pylintPath" : " pylint" ,
1010 "python.envFile" : " ${workspaceFolder}/venv" ,
11- "python.defaultInterpreterPath" : " ${workspaceFolder}/venv/bin/python3.10" ,
1211 "editor.formatOnSave" : true ,
1312 "python.linting.lintOnSave" : true ,
1413 "python.linting.mypyEnabled" : true ,
Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ def oncallexample(req: https_fn.CallableRequest):
3131 return "Hello from https on call function example"
3232
3333
34- @pubsub_fn .on_message_published (
35- topic = "hello" ,)
34+ @pubsub_fn .on_message_published (topic = "hello" ,)
3635def onmessagepublishedexample (
3736 event : pubsub_fn .CloudEvent [pubsub_fn .MessagePublishedData ]) -> None :
3837 print ("Hello from pubsub event:" , event )
Original file line number Diff line number Diff line change 77from firebase_functions .alerts import performance_fn
88
99
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 )
1212def onalertpublished (
1313 alert : alerts_fn .AlertEvent [alerts_fn .FirebaseAlertData [
1414 billing_fn .PlanUpdatePayload ]]
You can’t perform that action at this time.
0 commit comments