Skip to main content

config_from_root

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.

def config_from_root(
path: pathlib.Path | str = ".flyte/config.yaml"
) - > flyte.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.

Parameters

NameTypeDescription
path`pathlib.Pathstr` = ".flyte/config.yaml"

Returns

TypeDescription
`flyte.config.ConfigNone`