about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Kabui2022-02-01 11:34:00 +0300
committerBonfaceKilz2022-02-02 10:59:34 +0300
commiteaf06778297c4a8f240bba0f3b0dd6a4621f237f (patch)
treec9fcbf943969dcc5d38b1500286293c438e168f0
parentc315d3dcc67f9cbde7bef79845cc47bed0fc2b88 (diff)
downloadgenenetwork3-eaf06778297c4a8f240bba0f3b0dd6a4621f237f.tar.gz
pep8 formatting
-rw-r--r--gn3/api/ctl.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/gn3/api/ctl.py b/gn3/api/ctl.py
index 0844c95..2157b24 100644
--- a/gn3/api/ctl.py
+++ b/gn3/api/ctl.py
@@ -1,7 +1,5 @@
 """module contains endpoints for ctl"""
 
-# so small
-
 from flask import Blueprint
 from flask import request
 from flask import jsonify
@@ -13,7 +11,11 @@ ctl = Blueprint("ctl", __name__)
 
 @ctl.route("/run_ctl", methods=["POST"])
 def run_ctl():
-    """endpoint to run ctl"""
+    """endpoint to run ctl
+    input: request form object
+    output:json object enum::(response,error)
+
+    """
     ctl_data = request.json
 
     (cmd_results, response) = call_ctl_script(ctl_data)