Characteristics examples
galactic.patterns.characteristics.examples module.
- class Integer(characteristic=None, label='', explanation='', cache=True, multiple=False)
Bases:
MultipleValueIt represents an integer value.
It can use the
multiplekeyword parameters from its super class.- classmethod constructor(value)
Transform a value to an int.
- __call__(individual)
Return an optional collection from the individual.
- Parameters:
individual (
object) – Any python object.- Return type:
Collection[object] |None- Returns:
An optional collection. The None value represents a completely unknown value.