def METHOD_NAME(self):
    if self.request.query_params.get("all") == "true":
        return FacilityBasicInfoSerializer
    if self.action == "cover_image":
        # Check DRYpermissions before updating
        return FacilityImageUploadSerializer
    else:
        return FacilitySerializer