Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def connect(self, params={}):
if Input.API_KEY in params:
if params.get(Input.API_KEY).get('secretKey'):
self.headers['API-Key'] = params[Input.API_KEY]['secretKey']
def connect(self, params={}):
if Input.API_KEY in params:
if params.get(Input.API_KEY).get('secretKey'):
self.headers['API-Key'] = params[Input.API_KEY]['secretKey']