def delete_by_name(self, name):
        try:
            return self.delete(self.resources_by_name[name]['_id'])
        except __HOLE__:
            return {}
dataset/ETHPy150Open girder/girder/clients/ansible/girder.py/Resource.delete_by_name