Automatic push from FunctionsAPI

This commit is contained in:
FunctionsAPI 2025-02-06 14:32:13 +00:00
parent 3d5ce5d4fc
commit b18944d855
3 changed files with 15 additions and 2 deletions

View File

@ -1,2 +1 @@
# a2837c07f0ab453ea655f06d9aba10ba # 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