diff options
author | Munyoki Kilyungi | 2024-03-22 23:47:51 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | df32b162a8fb7ad9ab884e77e07a3b64e81e2922 (patch) | |
tree | 13626160c3579ffc0354e4ba5a7a84890449d5c1 /gn2 | |
parent | 97d150eaa6a927b3100d01d8e64a4e692a18f8ef (diff) | |
download | genenetwork2-df32b162a8fb7ad9ab884e77e07a3b64e81e2922.tar.gz |
Add missing docstrings to save/metadata_edit functions.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/edit.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn2/wqflask/edit.py b/gn2/wqflask/edit.py index 0143d6c1..500d1dae 100644 --- a/gn2/wqflask/edit.py +++ b/gn2/wqflask/edit.py @@ -59,6 +59,7 @@ push origin master --dry-run".split(" "))) @require_oauth2_edit_resource_access @require_oauth2 def metadata_edit(): + """Endpoint that provides editing functionality for datasets.""" from gn2.utility.tools import GN3_LOCAL_URL _name = request.args.get("name") match request.args.get("type"): @@ -87,6 +88,7 @@ def metadata_edit(): @require_oauth2_edit_resource_access @require_oauth2 def save(): + """Save dataset edits in git.""" from gn2.utility.tools import get_setting _gn_docs = Path( get_setting("DATA_DIR"), |