def __init__(self, iam_config, cf_endpoint, cf_namespace):
    self.iam_api_key = iam_config.get('api_key', None)
    self.iam_auth_endpoint = iam_config['ibm_auth_endpoint']
    self.cf_endpoint = cf_endpoint
    self.cf_namespace = cf_namespace
def __init__(self, iam_config, cf_endpoint, cf_namespace):
    self.iam_api_key = iam_config.get('api_key', None)
    self.iam_auth_endpoint = iam_config['ibm_auth_endpoint']
    self.cf_endpoint = cf_endpoint
    self.cf_namespace = cf_namespace