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

Add function-docstring for app init

parent bcf85bc6
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,15 @@ import rc_util # noqa: E402 ...@@ -20,6 +20,15 @@ import rc_util # noqa: E402
def create_app(config_name): def create_app(config_name):
"""
Create main flask app
input:
config_name: environment of the app running
output:
Flask instance
"""
app = Flask( app = Flask(
__name__, static_folder="static" __name__, static_folder="static"
) # initialization of the flask app ) # initialization of the flask app
......
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