def resources_model_filter(
        self,
        model,
        instances,
        requester_user=None,
        offset=0,
        eop=0,
        **from_model_kwargs,
    ):
        """
        Method which converts DB objects to API objects and performs any additional filtering.
        """

        result = []
        for instance in instances[offset:eop]:
            item = self.resource_model_filter(
                model=model,
                instance=instance,
                requester_user=requester_user,
                **from_model_kwargs,
            )
            result.append(item)
        return result

        Method which converts DB objects to API objects and performs any additional filtering.
        
st2api/st2api/controllers/resource.py