()
return jsonify(response)
Perform heavy-lifting initialization asynchronously.
	:return:
Perform heavy-lifting initialization asynchronously.
	:return:
Perform heavy - lifting initialization asynchronously . : return :
def initialize():
	'''
	Perform heavy-lifting initialization asynchronously.
	:return:
	'''
	can_start = app.initialize()

	if can_start:
		response = {
			'status': 'ok',
		}
	else:
		response = {
			'status': 'error'
		}

	return jsonify(response)
def initialize ( ) : can_start = app . initialize ( ) if can_start : response = { 'status' : 'ok' , } else : response = { 'status' : 'error' } return jsonify ( response )