def filter_with_schema(self, model=None, context=None):
        """ Perform model filtering with schema """
        if model is None or self.schema is None:
            return

        self._schema.filter(
            model=model,
            context=context if self.use_context else None
        )
Perform model filtering with schema