

def delete(self):
    '\n        Removes an item form the database, takes a model as input (blocking).\n        '
    from Mojo.ServerHelpers.RunServer import BACKEND_COLLECTION, DATABASE
    if DATABASE:
        if BACKEND_COLLECTION:
            this_collection = BACKEND_COLLECTION(DATABASE, self)
            ret_obj = this_collection.delete([self])
            return ret_obj

dataset/ETHPy150Open lonelycode/Mojo/Mojo/ObjectMapper/ModelPrototype.py Model.delete/original