Example #1
0
 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)
Example #2
0
def delete_operator_api(name):
    return delete_operators(name)
Example #3
0
 def delete(self, data):
     delete_operators(data['name'])