@app.route(
    '/v' + API_VERSION +
    '/deployments/<int:deployment_id>/reports/<int:report_id>',
    methods=['DELETE'])
def delete_report(deployment_id, report_id):
    report = db.session.query(Report).\
        filter(Report.deployment_id == deployment_id,
               Report.origin_report_id == report_id).first()
    if report is None:
        abort(404)
    report.delete()
Returns a ``SortedDict`` containing form fields for the given model.
dataset/ETHPy150Open dssg/ushine-learning/dssg/webapp/rest_api.py/delete_report--crossover with--dataset/ETHPy150Open jschrewe/django-mongodbforms/mongodbforms/documents.py/fields_for_document