Skip to content

pyuow.datapoint

Typed DataPoint specs and the producer / consumer protocols.

datapoint

BaseDataPointSpec dataclass

BaseDataPointSpec(name: str, ref_type: Type[VALUE])

Bases: Generic[VALUE]

BaseDataPointContainer dataclass

BaseDataPointContainer(
    spec: BaseDataPointSpec[VALUE], value: VALUE
)

Bases: Generic[VALUE]

BaseDataPointsDict

Bases: dict[BaseDataPointSpec[Any], Any]

BaseDataPointProducer

Bases: Generic[DATA_POINT_CONTAINER], ABC

BaseDataPointConsumer

Bases: Generic[DATA_POINT_SPEC], ABC

ProducesDataPoints

Bases: ABC

ConsumesDataPoints

Bases: ABC

DataPointCannotBeOverriddenError

Bases: Exception

DataPointIsNotProducedError

Bases: Exception

pyuow.datapoint.aio

aio

BaseDataPointProducer

Bases: Generic[DATA_POINT_CONTAINER], ABC

BaseDataPointConsumer

Bases: Generic[DATA_POINT_SPEC], ABC

ProducesDataPoints

Bases: ABC

ConsumesDataPoints

Bases: ABC