aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/general.py
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-08-17 11:42:20 +0300
committerMuriithi Frederick Muriuki2021-08-17 11:42:20 +0300
commitd491be2057843921cc67bd1c4b1ae612d9f15d34 (patch)
treed4fc8c4ed37985172dcc5e5faba35d4ef42ad046 /gn3/api/general.py
parent99bfda81abe76b3bb3f7034cf6cdac21c8d50726 (diff)
downloadgenenetwork3-d491be2057843921cc67bd1c4b1ae612d9f15d34.tar.gz
Fix obvious linting errors
* Fix linting errors that do not change the function of the code.
Diffstat (limited to 'gn3/api/general.py')
-rw-r--r--gn3/api/general.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/general.py b/gn3/api/general.py
index 86fb7b7..69ec343 100644
--- a/gn3/api/general.py
+++ b/gn3/api/general.py
@@ -13,7 +13,8 @@ general = Blueprint("general", __name__)
@general.route("/version")
def version():
- return jsonify("1.0")
+ """Get API version."""
+ return jsonify("1.0")
@general.route("/metadata/upload/", methods=["POST"],
strict_slashes=False)