Characteristics examples
galactic.patterns.characteristics.examples
module.
- class Integer(characteristic=None, label='', explanation='', cache=True, multiple=False)
Bases:
MultipleValue
It represents an integer value.
It can use the
multiple
keyword 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.