You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2022/03/18 06:16:38 UTC
[mnemonic-site] 01/03: MNEMONIC-702: Setup a new branch on github mnemonic-site for development tasks
This is an automated email from the ASF dual-hosted git repository.
garyw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic-site.git
commit 98c6f4f2453a631913b208785298e2d0a035bf71
Author: Yanhui Zhao <yz...@apache.org>
AuthorDate: Sat Dec 18 05:08:34 2021 +0000
MNEMONIC-702: Setup a new branch on github mnemonic-site for development tasks
---
fastapi/server.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fastapi/server.py b/fastapi/server.py
new file mode 100644
index 0000000..08b9af9
--- /dev/null
+++ b/fastapi/server.py
@@ -0,0 +1,8 @@
+from typing import Optional
+from fastapi import FASTAPI
+
+app = FastAPI()
+
+@app.get("/")
+def mnemonic_home():
+ return {"Apache Mnemonic Home"}