diff options
author | BonfaceKilz | 2021-02-15 09:48:29 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-15 09:48:29 +0300 |
commit | 885bd19130df7ab0c88fe67d01dae9f5ad32b9e0 (patch) | |
tree | 21184af810847bbcdca96ef27fa00b9d348f4198 /gn3 | |
parent | 0189538cefa19668b8167c39717869340aed594a (diff) | |
download | genenetwork3-885bd19130df7ab0c88fe67d01dae9f5ad32b9e0.tar.gz |
Add test stubbed gemma endpoint
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/__init__.py | 0 | ||||
-rw-r--r-- | gn3/api/gemma.py | 10 |
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" |