Automatic push from FunctionsAPI

This commit is contained in:
FunctionsAPI 2025-02-06 14:31:39 +00:00
parent c277c516a6
commit 75801ce3a7
3 changed files with 15 additions and 2 deletions

View File

@ -1,2 +1 @@
# 0905a8d4ce29457aa80e029e3a224896 # python hello-world

2
main.py Normal file
View File

@ -0,0 +1,2 @@
def main(request):
return "hello, world"

12
requirements.txt Normal file
View File

@ -0,0 +1,12 @@
functions-framework==1.4.3
markupsafe==2.0.1
def print_name(name):
print("The name is:", name)
def main(request):
request_json = request.get_json(silent=True)
print(request_json)
name = "Ali"
print_name(name)
return name