Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cdfcfd3

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎functions/log/main.py

Copy file name to clipboardExpand all lines: functions/log/main.py
+3-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.