def __init__(self, id_key, secret_key, **kwargs):
    self.client_id = None
    self.client_secret = None
    try:
        self.client_id = kwargs[id_key]
        self.client_secret = kwargs[secret_key]
    except KeyError:
        pass
def __init__(self, id_key, secret_key, **kwargs):
    self.client_id = None
    self.client_secret = None
    try:
        self.client_id = kwargs[id_key]
        self.client_secret = kwargs[secret_key]
    except KeyError:
        pass