

@element_app.route('/<slug>', method='DELETE')
def element_delete(mongodb, slug=None):
    return delete(mongodb, collection, slug)

dataset/ETHPy150Open mining/mining/mining/controllers/api/element.py element_delete/original