@app.route("<STR_LIT>", methods=["<STR_LIT:GET>"])<EOL>def get_participant(participant_id):
try:<EOL><INDENT>ppt = models.Participant.query.filter_by(id=participant_id).one()<EOL><DEDENT>except NoResultFound:<EOL><INDENT>return error_response(<EOL>error_type="<STR_LIT>", status=<NUM_LIT><EOL>)<EOL><DEDENT>return success_response(participant=ppt.__json__())<EOL>
Get the participant with the given id.