diff options
author | Munyoki Kilyungi | 2024-04-30 12:17:19 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-04-30 12:18:58 +0300 |
commit | 7c8ba29046412e9a609a1411f978c70b37100c54 (patch) | |
tree | 16b59de6835de2a210a74bcde8a80cec95a1b50e | |
parent | f3d002532baf3483def5bf6f193aaf56d88ff530 (diff) | |
download | genenetwork3-7c8ba29046412e9a609a1411f978c70b37100c54.tar.gz |
Add docstring to view_history function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn3/api/metadata.py | 1 |
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"), |