def METHOD_NAME(self):
    return AttachmentsSerializer(
        data=self.request.data,
        context={
            "mode": self.mode,
            "user": self.user,
            "user_acl": self.user_acl,
            "post": self.post,
            "settings": self.settings,
        },
    )