We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adabce5 commit cdfcfd3Copy full SHA for cdfcfd3
functions/log/main.py
@@ -16,12 +16,11 @@
16
import logging
17
18
19
-def hello_world(event, context):
+def hello_world(data, context):
20
"""Background Cloud Function.
21
Args:
22
- event (dict): The dictionary with data specific to the given event.
23
- context (google.cloud.functions.Context): The Cloud Functions event
24
- context.
+ data (dict): The dictionary with data specific to the given event.
+ context (google.cloud.functions.Context): The event metadata.
25
"""
26
print('Hello, stdout!')
27
logging.warn('Hello, logging handler!')
0 commit comments