

@classmethod
def delete_bulk(klass, to_delete):
    '\n        Delete items in a batch operation (blocking) - takes a list of models as input\n        '
    from Mojo.ServerHelpers.RunServer import BACKEND_COLLECTION, DATABASE
    if DATABASE:
        if BACKEND_COLLECTION:
            this_collection = BACKEND_COLLECTION(DATABASE, klass)
            ret_obj = to_delete.delete(to_delete)
            return ret_obj

dataset/ETHPy150Open lonelycode/Mojo/Mojo/ObjectMapper/ModelPrototype.py Model.delete_bulk/VarMisuse@49/110 `this_collection`->`to_delete`