kedro.framework.startup.ProjectMetadata

class kedro.framework.startup.ProjectMetadata(config_file: Path, package_name: str, project_name: str, project_path: Path, source_dir: Path, kedro_init_version: str, tools: list, example_pipeline: str)[source]

Structure holding project metadata derived from pyproject.toml

Attributes

config_file

Alias for field number 0

example_pipeline

Alias for field number 7

kedro_init_version

Alias for field number 5

package_name

Alias for field number 1

project_name

Alias for field number 2

project_path

Alias for field number 3

source_dir

Alias for field number 4

tools

Alias for field number 6

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

config_file: Path

Alias for field number 0

count(value, /)

Return number of occurrences of value.

example_pipeline: str

Alias for field number 7

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

kedro_init_version: str

Alias for field number 5

package_name: str

Alias for field number 1

project_name: str

Alias for field number 2

project_path: Path

Alias for field number 3

source_dir: Path

Alias for field number 4

tools: list

Alias for field number 6