Skip to content
Snippets Groups Projects
Commit 2b2ff497 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix line-to-long in run.py

parent 65f138e7
No related branches found
No related tags found
No related merge requests found
"""
This python script conatins functions that talk with Flask frontend over socketio.
It has functions to join a unique room, creating an account and certifying an account.
This python script conatins functions that talk with Flask frontend over
socketio.
It has functions to join a unique room, creating an account and
certifying an account.
"""
# run.py
......@@ -51,7 +53,8 @@ def request_account(json, methods=["GET", "POST"]):
"""
This function is called by the Flask frontend on an account request.
Input:
json: This contains information needed for the user that needs to be created from the frontend.
json: This contains information needed for the user that needs to be
created from the frontend.
methods: Defaults to ["GET", "POST"].
Output:
Send the json to Celery tasks file for account creation.
......@@ -79,7 +82,8 @@ def certify_account(json, methods=["GET", "POST"]):
"""
This function is called by the Flask frontend from self certification page.
Inputs:
json: Conatins information about the user that needs to be certified from the frontend.
json: Conatins information about the user that needs to be certified
from the frontend.
methods: Defaults to ["GET", "POST"].
Outputs:
Send the json to Celery tasks file for user certification.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment