aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorAlexander Kabui2021-04-06 22:30:02 +0300
committerAlexander Kabui2021-04-06 22:30:02 +0300
commitea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c (patch)
tree86131edaf05446afcff702d9215b627a0759a501 /gn3/api
parenta301093ce9ea825606db29bd1f1f40e1971897dd (diff)
downloadgenenetwork3-ea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c.tar.gz
delete unnecessary functions and comments
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/datasets.py5
-rw-r--r--gn3/api/traits.py5
2 files changed, 0 insertions, 10 deletions
diff --git a/gn3/api/datasets.py b/gn3/api/datasets.py
index eb4097d..a6951fb 100644
--- a/gn3/api/datasets.py
+++ b/gn3/api/datasets.py
@@ -10,11 +10,6 @@ from gn3.experimental_db import database_connector
dataset = Blueprint("dataset", __name__)
-@dataset.route("/")
-def dataset_home():
- """initial test endpont for dataset"""
- return jsonify({"results": "ok"})
-
@dataset.route("/create/<dataset_name>/")
@dataset.route("/create/<dataset_name>/<dataset_type>")
diff --git a/gn3/api/traits.py b/gn3/api/traits.py
index 758dcca..cf445e1 100644
--- a/gn3/api/traits.py
+++ b/gn3/api/traits.py
@@ -12,11 +12,6 @@ from gn3.experimental_db import database_connector
trait = Blueprint("trait", __name__)
-@trait.route("/")
-def home():
- """initial endpoint for traits"""
- return jsonify({"results": "success"})
-
@trait.route("/<string:trait_name>/<string:dataset_name>")
def create_trait(trait_name, dataset_name):