def default_scopes(self, scopes):
        """Set default scopes for client."""
        validate_scopes(scopes)
        self._default_scopes = " ".join(set(scopes)) if scopes else ""
def default_scopes ( self , scopes ) : validate_scopes ( scopes ) self . _default_scopes = " " . join ( set ( scopes ) ) if scopes else ""
Set default scopes for client.