Source code for h1st.schema.validators.base

[docs]class BaseValidator: """ Base class for validator """
[docs] def is_applicable(self, schema): raise NotImplementedError()
[docs] def validate_type(self, upstream, downstream): raise NotImplementedError()