yawning_titan.config.groups.validation#

Classes

AnyNonZeroGroup

Inherit from this group if any value should be greater 0 in order to be valid.

AnyTrueGroup

Inherit from this group if any value should be True.

AnyUsedGroup

Inherit from this group if any element should have a value of True or should be a group with use as True.

class yawning_titan.config.groups.validation.AnyNonZeroGroup(doc=None)[source]#

Inherit from this group if any value should be greater 0 in order to be valid.

The ConfigGroup constructor.

Parameters:

doc – The groups doc.

validate()[source]#

Extend the parent validation with additional rules specific to this :class: ~yawning_titan.config.core.ConfigGroup.

class yawning_titan.config.groups.validation.AnyTrueGroup(doc=None)[source]#

Inherit from this group if any value should be True.

The ConfigGroup constructor.

Parameters:

doc – The groups doc.

validate()[source]#

Extend the parent validation with additional rules specific to this :class: ~yawning_titan.config.core.ConfigGroup.

class yawning_titan.config.groups.validation.AnyUsedGroup(doc=None)[source]#

Inherit from this group if any element should have a value of True or should be a group with use as True.

The ConfigGroup constructor.

Parameters:

doc – The groups doc.

validate()[source]#

Extend the parent validation with additional rules specific to this :class: ~yawning_titan.config.core.ConfigGroup.