Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

608 B
Raw Blame
from drf_spectacular.utils import extend_schema_serializer
from rest_framework import serializers
from rest_framework_dataclasses.serializers import DataclassSerializer

from products.tasks.backend.facade.contracts import DesktopBetaTermsAcceptanceDTO


@extend_schema_serializer(many=False)
class DesktopBetaTermsAcceptanceSerializer(DataclassSerializer):
    is_desktop_beta_terms_accepted = serializers.BooleanField(
        read_only=True,
        help_text="Whether the organization has accepted the PostHog Desktop beta terms.",
    )

    class Meta:
        dataclass = DesktopBetaTermsAcceptanceDTO