IOOS1_2_PlatformIDValidator#

class compliance_checker.ioos.IOOS1_2_PlatformIDValidator(split_func=None)[source]#

Methods

expected_type

alias of str

validator_func(self, input_value)

Function that should validate the result of a given input value

validate

validate_type

Attributes Summary

validator_fail_msg

validator_regex

Methods Summary

__init__([split_func])

validate(input_name, input_value)

validate_type(input_name, input_value)

validator_func(self, input_value)

Function that should validate the result of a given input value

Attributes Documentation

validator_fail_msg = '{} must be alphanumeric'#
validator_regex = '^[a-zA-Z0-9]+$'#

Methods Documentation

__init__(split_func=None)#
validate(input_name, input_value)#
validate_type(input_name, input_value)#
validator_func(self, input_value)#

Function that should validate the result of a given input value