GeneratedQuantity#

class liesel.goose.types.GeneratedQuantity(*args, **kwargs)[source]#

Bases: Protocol

Protocol representing the data structure for quantities generated via implmentations of QuantityGenerator.

Concrete implementations should add additional attributes.

The attribute error_code is reserved to store integers that map to error messages via the error book provided in the implmentation of QuantityGenerator.

Attributes

error_code