boilercore.models.geometry#

Geometry.

Module Contents#

Classes#

Geometry

Geometry.

Data#

InchToMeterFloat

A float initially in units of inches (in), but validates as meters (m).

GEOMETRY

Geometry.

API#

boilercore.models.geometry.InchToMeterFloat: TypeAlias#

None

A float initially in units of inches (in), but validates as meters (m).

class boilercore.models.geometry.Geometry(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

Geometry.

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.

diameter: boilercore.models.geometry.InchToMeterFloat#

‘Field(…)’

rods: dict[boilercore.types.Rod, list[boilercore.models.geometry.InchToMeterFloat]]#

‘Field(…)’

coupons: dict[boilercore.types.Coupon, boilercore.models.geometry.InchToMeterFloat]#

‘Field(…)’

boilercore.models.geometry.GEOMETRY#

‘Geometry(…)’

Geometry.