def load(self):
    loaded_credentials = None
    for credentials in self.chain:
        if credentials.load():
            loaded_credentials = credentials
            break
    if (not loaded_credentials):
        return False
    self.client_id = loaded_credentials.client_id
    self.client_secret = loaded_credentials.client_secret
    return True
def load(self):
    loaded_credentials = None
    for credentials in self.chain:
        if credentials.load():
            loaded_credentials = credentials
            break
    if (not loaded_credentials):
        return False
    self.client_id = loaded_credentials.client_id
    self.client_secret = loaded_credentials.client_secret
    return True