Skip to main content

Set Token

@validate_call
def set_token(token: str) -> None

Set the token for the CausaDB client.

Arguments:

  • token str - Token secret provided by CausaDB.

Raises:

  • Exception - If the token is invalid.