From 86de51055cde3d29a7c088467d281d3b32b6b6be Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 6 Jun 2023 00:34:37 +0300 Subject: Rename dataset_metadata -> dataset Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api/metadata.py') 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/", methods=["GET"]) -def dataset_metadata(name): +def dataset(name): """Fetch a dataset's metadata given it's ACCESSION_ID""" try: return jsonify( -- cgit v1.2.3