def rename_context(
    name: str,
    new_name: str,
    *,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> None:

source code

Rename a context.

Arguments:

  • name - Name of the context to rename.
  • new_name - New name of the context.
  • project - Name of the project the context belongs to.
  • api_key - If specified, unify API key to be used. Defaults to the value in the