clic.app: CLiC Flask application¶
-
clic.app.
create_app
(config=None, app_name=None)¶
-
clic.app.
to_view_func
(fn, output_mode)¶ Turn a function call into one of several views, defined by output_mode - stream: Function call is a generator that generates output suitable for stream_json() - json: Function call returns a dict suitable for jsonify()