ipcore.properties.processors.ProcessorInt

class ipcore.properties.processors.ProcessorInt

This preprocessor makes sure that the value stored is a python int, but only if the input is considered a valid int (bool, int, numpy.int_, …). If not, we do not preprocess and return the original value, which will throw an exception during the validation phase.

process(value, obj=None)