def __init__(self, client_id, client_secret, scopes, is_sandbox_mode=True):
        """Initialize ClientCredential Class.
        Parameters
            client_id (str)
                Your app's Client ID.
            client_secret (str)
                Your app's Client Secret. This must be kept confidential.
            scopes (set)
                Set of permission scopes to request.
                (e.g. {'public', 'rides.read'})
            is_sandbox_mode (bool)
                Optional. Set to False if your code is in production.
        """
        super(ClientCredentialGrant, self).__init__(client_id, scopes)
        self.client_secret = "-".join([auth.SANDBOX_MODE_PREFIX, client_secret]) if is_sandbox_mode else client_secret
def __init__ ( self , client_id , client_secret , scopes , is_sandbox_mode = True ) : super ( ClientCredentialGrant , self ) . __init__ ( client_id , scopes ) self . client_secret = "-" . join ( [ auth . SANDBOX_MODE_PREFIX , client_secret ] ) if is_sandbox_mode else client_secret
Initialize ClientCredential Class.
        Parameters
            client_id (str)
                Your app's Client ID.
            client_secret (str)
                Your app's Client Secret. This must be kept confidential.
            scopes (set)
                Set of permission scopes to request.
                (e.g. {'public', 'rides.read'})
            is_sandbox_mode (bool)
                Optional. Set to False if your code is in production.