Skip to content

Commit 599ab03

Browse files
author
Ace Nassri
authored
chore: delete unused functions sample (GoogleCloudPlatform#4364)
1 parent 4c5c20b commit 599ab03

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

functions/helloworld/main.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,6 @@ def hello_get(request):
3737
# [END functions_helloworld_get]
3838

3939

40-
# [START functions_helloworld_background]
41-
def hello_background(event, context):
42-
"""Background Cloud Function.
43-
Args:
44-
event (dict): The dictionary with data specific to the given event.
45-
context (google.cloud.functions.Context): The Cloud Functions event
46-
metadata.
47-
"""
48-
if event and 'name' in event:
49-
name = event['name']
50-
else:
51-
name = 'World'
52-
return 'Hello {}!'.format(name)
53-
# [END functions_helloworld_background]
54-
55-
5640
# [START functions_helloworld_http]
5741
def hello_http(request):
5842
"""HTTP Cloud Function.

0 commit comments

Comments
 (0)