diff options
author | BonfaceKilz | 2021-10-27 15:05:47 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-10-28 08:34:35 +0300 |
commit | ea1de9bffd36dbd7417ff24b9a0caab1e3449081 (patch) | |
tree | faaebb4092d48ae3c29ed9291615a8019453e3b8 /wqflask | |
parent | bf71e24e7e471c99b650c5250d0ee9e692e4a6fd (diff) | |
download | genenetwork2-ea1de9bffd36dbd7417ff24b9a0caab1e3449081.tar.gz |
Prefer tuples over lists
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 690f04c2..d232b32b 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -281,7 +281,7 @@ def update_phenotype(dataset_id: str, name: str): f"?resource-id={request.args.get('resource-id')}") -@metadata_edit.route("/traits/<name>", methods=["POST"]) +@metadata_edit.route("/traits/<name>", methods=("POST",)) @edit_access_required def update_probeset(name: str): conn = MySQLdb.Connect(db=current_app.config.get("DB_NAME"), |