def __init__(self, **kwargs): '''Initialize super class ''' RestAPI.__init__(self, **kwargs) self.action = {'get':'get', 'put':'put', 'post':'post', 'delete':'delete', }
def __init__(self, **kwargs): '''Initialize super class ''' RestAPI.__init__(self, **kwargs) self.action = { 'get': 'get', 'put': 'put', 'post': 'post', 'delete': 'delete', }
def __init__(self, ip=IP): RestAPI.__init__(self, ip=ip)