diff options
author | Alexander Kabui | 2021-10-14 10:58:01 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-01-22 09:23:14 +0300 |
commit | b6f67cd4addd233bf3c95f4e09a2cc0833988c60 (patch) | |
tree | 908670e9ed855f3a857c7fa7c3d46af36c8ba70d /gn3/api | |
parent | 64598509e7e4c3d06a2446c564f383d0d275c090 (diff) | |
download | genenetwork3-b6f67cd4addd233bf3c95f4e09a2cc0833988c60.tar.gz |
add endpoint for ctl
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/ctl.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gn3/api/ctl.py b/gn3/api/ctl.py new file mode 100644 index 0000000..7de83d7 --- /dev/null +++ b/gn3/api/ctl.py @@ -0,0 +1,17 @@ +"""module contains endpoints for ctl""" + +# so small + +from flask import Blueprint +from flask import request +from flask import jsonify + + +ctl = Blueprint("ctl",__name__) + +@ctl.route("/run_ctl",methods=["POST"]) +def run_ctl(): + """endpoint to run ctl""" + ctl_data = request.json + + return "hello"
\ No newline at end of file |