2.0.0b35

flyte.git

Directory

Classes

Class Description
GitStatus A class representing the status of a git repository.

Methods

Method Description
config_from_root() Get the config file from the git root directory.

Methods

config_from_root()

def config_from_root(
    path: pathlib._local.Path | str,
) -> flyte.config._config.Config | None

Get the config file from the git root directory.

By default, the config file is expected to be in .flyte/config.yaml in the git root directory.

Parameter Type Description
path pathlib._local.Path | str Path to the config file relative to git root directory (default :return: Config object if found, None otherwise