Skip to content

Commit cdfcfd3

Browse files
stew-rAce Nassri
authored andcommitted
Update signature and docstring (GoogleCloudPlatform#1593)
* Update signature and docstring * Update main.py
1 parent adabce5 commit cdfcfd3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

functions/log/main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
import logging
1717

1818

19-
def hello_world(event, context):
19+
def hello_world(data, context):
2020
"""Background Cloud Function.
2121
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.
22+
data (dict): The dictionary with data specific to the given event.
23+
context (google.cloud.functions.Context): The event metadata.
2524
"""
2625
print('Hello, stdout!')
2726
logging.warn('Hello, logging handler!')

0 commit comments

Comments
 (0)