aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-04-30 12:17:19 +0300
committerBonfaceKilz2024-04-30 12:18:58 +0300
commit7c8ba29046412e9a609a1411f978c70b37100c54 (patch)
tree16b59de6835de2a210a74bcde8a80cec95a1b50e /gn3
parentf3d002532baf3483def5bf6f193aaf56d88ff530 (diff)
downloadgenenetwork3-7c8ba29046412e9a609a1411f978c70b37100c54.tar.gz
Add docstring to view_history function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/metadata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 91aca70..91dc115 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -271,6 +271,7 @@ CONSTRUCT {
@metadata.route("/datasets/<id_>/history")
def view_history(id_):
+ """View a given dataset's history."""
history = get_history(
git_dir=Path(current_app.config.get("DATA_DIR"),
"gn-docs"),