Flask - Background Tasks
What will be the output of this Flask route when accessing
/status/999 if the task status dictionary is {'123': 'completed'}?
@app.route('/status/')
def status(task_id):
statuses = {'123': 'completed'}
return statuses.get(task_id, 'unknown') 