def __init__( self, client_id=None, oauth_token=None, client_secret=None, scopes=None ): self._client_id = client_id self._oauth_token = oauth_token self._client_secret = client_secret self._scopes = scopes if not client_id: self._client_id, self._oauth_token = credentials_from_config_file()
def __init__(self, client_id=None, oauth_token=None): self._client_id = client_id self._oauth_token = oauth_token if not client_id: self._client_id, self._oauth_token = credentials_from_config_file()