<s> import argparse <EOL> from werkzeug . serving import run_simple <EOL> from werkzeug . wsgi import DispatcherMiddleware <EOL> from quokka import create_app , create_api <EOL> from quokka . utils . paas import activate <EOL> application = DispatcherMiddleware ( create_app ( ) , { <EOL> '<STR_LIT>' : create_api ( ) <EOL> } ) <EOL> application = app = activate ( application ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> parser = argparse . ArgumentParser ( description = "<STR_LIT>" ) <EOL> parser . add_argument ( '<STR_LIT>' , '<STR_LIT>' , help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , '<STR_LIT>' , help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , '<STR_LIT>' , action = '<STR_LIT:store_true>' , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , '<STR_LIT>' , action = '<STR_LIT:store_true>' , <EOL> help = '<STR_LIT>' ) <EOL> args = parser . parse_args ( ) <EOL> run_simple ( <EOL> args . host or '<STR_LIT>' , <EOL> int ( args . port ) if args . port else <NUM_LIT> , <EOL> application , <EOL> use_reloader = args . reloader or False , <EOL> use_debugger = args . debug or False , <EOL> ) </s>
