def get_experiment_version(name: str, api_key: Optional[str] = None) -> int:

source code

Gets the experiment version (by name).

Arguments:

  • name - The name of the experiment to get.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

The experiment version with said name.