def commit_context(
    name: str,
    commit_message: str,
    *,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> Dict[str, str]:

source code

Creates a commit for a single context.

Arguments:

  • name - Name of the context to commit.
  • commit_message - A description of the changes being saved.
  • 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

Returns:

A dictionary containing the new commit_hash.