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

source code

Creates a commit for the entire project, saving a snapshot of all versioned contexts.

Arguments:

  • name - Name of the project to commit.
  • commit_message - A description of the changes being saved.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A dictionary containing the new commit_hash.