def METHOD_NAME(self):
    logger = logging.getLogger(
        f"peering_manager.api.views.{self.__class__.__name__}"
    )
    # If using 'brief' mode, find and return the nested serializer for this model,
    # if one exists
    if self.brief:
        logger.debug(
            "Request is for 'brief' format; initializing nested serializer"
        )
        try:
            return get_serializer_for_model(
                self.queryset.model, prefix=NESTED_SERIALIZER_PREFIX
            )
        except SerializerNotFound:
            logger.debug(
                f"Nested serializer for {self.queryset.model} not found. Using serializer {self.serializer_class}"
            )
    return self.serializer_class