def wrapper(*args, **kwargs): register_operators(name=name, type=type, addr=addr, author=author, version=version, description=description) func(*args, **kwargs) delete_operators(name=name)
def delete_operator_api(name): return delete_operators(name)
def delete(self, data): delete_operators(data['name'])