def get_schema_compiler(self, schema):
        """ Get compiler method for the provided schema

        :param schema: Schema to analyze
        :return: Callable compiled
        :rtype: callable|None
        """
        # Schema type
        schema_type = self.get_schema_type(schema)
        if schema_type is None:
            return None

        # Compiler
        compilers = {
            const.COMPILED_TYPE.LITERAL: self._compile_literal,
            const.COMPILED_TYPE.TYPE: self._compile_type,
            const.COMPILED_TYPE.SCHEMA: self._compile_schema,
            const.COMPILED_TYPE.ENUM: self._compile_enum,
            const.COMPILED_TYPE.CALLABLE: self._compile_callable,
            const.COMPILED_TYPE.ITERABLE: self._compile_iterable,
            const.COMPILED_TYPE.MAPPING: self._compile_mapping,
            const.COMPILED_TYPE.MARKER: self._compile_marker,
        }

        return compilers[schema_type]
def get_schema_compiler ( self , schema ) : schema_type = self . get_schema_type ( schema ) if schema_type is None : return None compilers = { const . COMPILED_TYPE . LITERAL : self . _compile_literal , const . COMPILED_TYPE . TYPE : self . _compile_type , const . COMPILED_TYPE . SCHEMA : self . _compile_schema , const . COMPILED_TYPE . ENUM : self . _compile_enum , const . COMPILED_TYPE . CALLABLE : self . _compile_callable , const . COMPILED_TYPE . ITERABLE : self . _compile_iterable , const . COMPILED_TYPE . MAPPING : self . _compile_mapping , const . COMPILED_TYPE . MARKER : self . _compile_marker , } return compilers [ schema_type ]
Get compiler method for the provided schema

        :param schema: Schema to analyze
        :return: Callable compiled
        :rtype: callable|None