Example #1
0
    def has_class(self, cls):
        ns_prefix = cls.get_namespace_prefix(self)
        if ns_prefix in rpclib.const.xml_ns.const_nsmap:
            return True

        else:
            return InterfaceBase.has_class(self, cls)
Example #2
0
    def __init__(self, app=None, import_base_namespaces=False):
        self.schema_dict = {}
        self.validation_schema = None
        self.import_base_namespaces = import_base_namespaces

        InterfaceBase.__init__(self, app)