aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-02-15 09:48:29 +0300
committerBonfaceKilz2021-02-15 09:48:29 +0300
commit885bd19130df7ab0c88fe67d01dae9f5ad32b9e0 (patch)
tree21184af810847bbcdca96ef27fa00b9d348f4198
parent0189538cefa19668b8167c39717869340aed594a (diff)
downloadgenenetwork3-885bd19130df7ab0c88fe67d01dae9f5ad32b9e0.tar.gz
Add test stubbed gemma endpoint
-rw-r--r--gn3/api/__init__.py0
-rw-r--r--gn3/api/gemma.py10
2 files changed, 10 insertions, 0 deletions
diff --git a/gn3/api/__init__.py b/gn3/api/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gn3/api/__init__.py
diff --git a/gn3/api/gemma.py b/gn3/api/gemma.py
new file mode 100644
index 0000000..ae23b34
--- /dev/null
+++ b/gn3/api/gemma.py
@@ -0,0 +1,10 @@
+"""Endpoints for running the gemma cmd"""
+from flask import Blueprint
+
+gemma = Blueprint("gemma", __name__)
+
+
+@gemma.route("/")
+def index() -> str:
+ """Test endpoint"""
+ return "hello world"