From ec7f5a41f7621dc7c72fe965124f2e205c4c0968 Mon Sep 17 00:00:00 2001 From: FunctionsAPI Date: Thu, 6 Feb 2025 14:32:36 +0000 Subject: [PATCH] Automatic push from FunctionsAPI --- README.md | 3 +-- main.py | 2 ++ requirements.txt | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 main.py create mode 100644 requirements.txt diff --git a/README.md b/README.md index f4756a6..ca9945f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# f1c6ae6ad9d24e0d974bc203c5b19109 - +# python hello-world diff --git a/main.py b/main.py new file mode 100644 index 0000000..c6ffed6 --- /dev/null +++ b/main.py @@ -0,0 +1,2 @@ +def main(request): + return "hello, world" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4f765bf --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +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 \ No newline at end of file