Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, base_uri, api_key, transport_class=RequestsTransport):
self.base_uri = "%s/%s" % (base_uri, 'metrics')
self.campaigns = Campaigns(self.base_uri, api_key, transport_class)
self.domains = Domains(self.base_uri, api_key, transport_class)
def __init__(self, base_uri, api_key, transport_class=RequestsTransport):
self.base_uri = base_uri
self.api_key = api_key
self.transport = transport_class()