def request(self, action, params=None, data='', headers=None, method='GET'): if not headers: headers = {} if not params: params = {} # Override this method to prepend the api_context return ConnectionKey.request(self, self.api_context + action, params, data, headers, method)
def __init__(self, key, secure=True): # override __init__ so that we can set secure of False for testing ConnectionKey.__init__(self, key, secure)
def __init__(self, key, secure=True): # override __init__ so that we can set secure of False for testing ConnectionKey.__init__(self,key,secure)