From 885bd19130df7ab0c88fe67d01dae9f5ad32b9e0 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Mon, 15 Feb 2021 09:48:29 +0300 Subject: Add test stubbed gemma endpoint --- gn3/api/__init__.py | 0 gn3/api/gemma.py | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 gn3/api/__init__.py create mode 100644 gn3/api/gemma.py (limited to 'gn3') diff --git a/gn3/api/__init__.py b/gn3/api/__init__.py new file mode 100644 index 0000000..e69de29 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" -- cgit v1.2.3