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.

400 B
Raw Blame
"""
Contract types for groups.

Frozen dataclasses that define what this product exposes.
No Django imports. Used by facade as inputs/outputs.
"""

from pydantic import JsonValue
from pydantic.dataclasses import dataclass


@dataclass(frozen=True)
class GroupPropertyDefinitionInput:
    team_id: int
    project_id: int
    group_type_index: int
    property_name: str
    property_value: JsonValue