boilercv_pipeline.models.contexts#

Contexts.

Submodules#

Package Contents#

Classes#

Roots

Root directories.

BoilercvPipelineContext

Root directory context.

BoilercvPipelineContexts

Boilercv pipeline context.

Data#

BOILERCV_PIPELINE

Context name for boilercv_pipeline.

ROOTED

Paths rooted to their directories.

API#

boilercv_pipeline.models.contexts.BOILERCV_PIPELINE#

‘boilercv_pipeline’

Context name for boilercv_pipeline.

class boilercv_pipeline.models.contexts.Roots(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

Root directories.

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.

data: pathlib.Path | None#

None

Data.

docs: pathlib.Path | None#

None

Docs.

boilercv_pipeline.models.contexts.ROOTED#

‘Roots(…)’

Paths rooted to their directories.

class boilercv_pipeline.models.contexts.BoilercvPipelineContext(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

Root directory context.

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.

roots: boilercv_pipeline.models.contexts.Roots#

‘Field(…)’

Root directories for different kinds of paths.

kinds: boilercv_pipeline.models.contexts.types.Kinds#

‘Field(…)’

Kind of each path.

track_kinds: bool#

False

Whether to track kinds.

class boilercv_pipeline.models.contexts.BoilercvPipelineContexts#

Bases: context_models.types.Context

Boilercv pipeline context.

Initialization

Initialize self. See help(type(self)) for accurate signature.

boilercv_pipeline: boilercv_pipeline.models.contexts.BoilercvPipelineContext#

None