boilercv_pipeline.config#

Settings.

Module Contents#

Classes#

Constants

Constants.

Functions#

get_root

Look for project root directory starting from current working directory.

Data#

const

Constants.

API#

boilercv_pipeline.config.get_root(
pyproject: pathlib.Path = Path('pyproject.toml'),
docs: pathlib.Path = Path('docs'),
) pathlib.Path#

Look for project root directory starting from current working directory.

class boilercv_pipeline.config.Constants(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

Constants.

Initialization

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

package_dir: pathlib.Path#

‘get_package_dir(…)’

Package directory.

stages: dict[str, pathlib.Path]#

None

Stages.

root: pathlib.Path#

‘get_root(…)’

Root directory.

data: pathlib.Path#

‘Path(…)’

Data directory.

docs: pathlib.Path#

‘Path(…)’

Docs directory.

generated_stages: pathlib.Path#

None

Generated stages.

boilercv_pipeline.config.const#

‘Constants(…)’

Constants.