aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/metadata.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-06 00:34:37 +0300
committerBonfaceKilz2023-06-06 00:47:58 +0300
commit86de51055cde3d29a7c088467d281d3b32b6b6be (patch)
tree4d63e090d8318e5cb70e0167d84e1978b2160df5 /gn3/api/metadata.py
parentbfb6fdee924cc60dfdba8ede609a206ca6982454 (diff)
downloadgenenetwork3-86de51055cde3d29a7c088467d281d3b32b6b6be.tar.gz
Rename dataset_metadata -> dataset
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api/metadata.py')
-rw-r--r--gn3/api/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index d542dc6..aacc20b 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -18,7 +18,7 @@ metadata = Blueprint("metadata", __name__)
@metadata.route("/dataset/<name>", methods=["GET"])
-def dataset_metadata(name):
+def dataset(name):
"""Fetch a dataset's metadata given it's ACCESSION_ID"""
try:
return jsonify(