Skip to content

Commit e00ab29

Browse files
author
Ace Nassri
authored
Docstrings: use correct parameter names (GoogleCloudPlatform#1605)
1 parent c7821fb commit e00ab29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/helloworld/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def hello_get(request):
3434
def hello_background(data, context):
3535
"""Background Cloud Function.
3636
Args:
37-
event (dict): The dictionary with data specific to the given event.
37+
data (dict): The dictionary with data specific to the given event.
3838
context (google.cloud.functions.Context): The Cloud Functions event
3939
context.
4040
"""
@@ -70,7 +70,7 @@ def hello_http(request):
7070
def hello_pubsub(data, context):
7171
"""Background Cloud Function to be triggered by Pub/Sub.
7272
Args:
73-
event (dict): The dictionary with data specific to this type of event.
73+
data (dict): The dictionary with data specific to this type of event.
7474
context (google.cloud.functions.Context): The Cloud Functions event
7575
context.
7676
"""

0 commit comments

Comments
 (0)