imas_validator.validate_options.RuleFilter¶
- class imas_validator.validate_options.RuleFilter(name: ~typing.List[str] = <factory>, ids: ~typing.List[str] = <factory>)¶
Bases:
objectClass for filtering individual rules.
For more information, see Rule Filtering
- __init__(name: ~typing.List[str] = <factory>, ids: ~typing.List[str] = <factory>)¶
Methods
__init__([name, ids])is_selected(rule)Check whether rule should be applied or not
Attributes
List of strings that should be present in rule name
List of strings that should be present in rule ids_names
- is_selected(rule: IDSValidationRule) bool¶
Check whether rule should be applied or not
- Parameters:
- rule: IDSValidationRule¶
rule to be checked
- Returns:
Whether or not validation rule should be applied
Last update:
2025-06-05