arjuna.core.value module

exception arjuna.core.value.UnsupportedRepresentationException(strSourceValue, targetValueType)

Bases: Exception

class arjuna.core.value.Value

Bases: object

FALSES = {'0', 'FALSE', 'NO', 'OFF'}
TRUES = {'1', 'ON', 'TRUE', 'YES'}
classmethod as_bool(val)
classmethod as_enum(val, enum_class)
classmethod as_enum_list(val, enum_class)
classmethod as_float(val)
classmethod as_int(val)
classmethod as_int_list(val)
classmethod as_number(val)
classmethod as_number_list(val)
classmethod as_str_list(val)
classmethod is_na(val)
classmethod is_none(val)
classmethod is_not_set(val)
classmethod is_null(val)
classmethod is_set(val)
classmethod split_as_str_list(val, delimiter=',')