From 7c8ba29046412e9a609a1411f978c70b37100c54 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 30 Apr 2024 12:17:19 +0300 Subject: Add docstring to view_history function. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 1 + 1 file changed, 1 insertion(+) 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//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"), -- cgit v1.2.3