: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
"""Exported enums for today. Every enum used in a contract dataclass field lives here."""
from posthog.enums import LabeledStrEnum
class KeyClauseRole(LabeledStrEnum):
PROBLEM = "problem", "Problem"
CAUSE = "cause", "Cause"
FIX = "fix", "Fix"
class CitedSource(LabeledStrEnum):
CODE = "code", "Code"
SLACK = "slack", "Slack"
class FigureText(LabeledStrEnum):
LEAD = "lead", "Lead"
IMPACT = "impact", "Impact"
class ImpactNumberKey(LabeledStrEnum):
TICKETS = "tickets", "Support tickets"
QUERY_HOURS = "query-hours", "Database hours"
class FigureSourceKind(LabeledStrEnum):
SIGNAL = "signal", "Signal"
RESEARCH = "research", "Agent's research"
class HighlightLabel(LabeledStrEnum):
RISK = "risk", "Risk"
OPPORTUNITY = "opportunity", "Opportunity"
class HighlightsStatus(LabeledStrEnum):
COMPUTING = "computing", "Computing"
READY = "ready", "Ready"
FAILED = "failed", "Failed"
class HighlightPriority(LabeledStrEnum):
P1 = "P1", "P1"
P2 = "P2", "P2"
P3 = "P3", "P3"
P4 = "P4", "P4"
class HighlightUnit(LabeledStrEnum):
EVENTS = "events", "Events"
PEOPLE = "people", "People"
NUMBER = "number", "Number"
class HighlightMetricReason(LabeledStrEnum):
ROUTINE = "routine", "You open this often"
DASHBOARD = "dashboard", "On a dashboard you open often"
KEY_METRIC = "key_metric", "Project key metric"
POPULAR = "popular", "Opened often in this project"
WATCHED = "watched", "You get updates on this"
BUILT = "built", "You created or edited this"
class HighlightPinStatus(LabeledStrEnum):
READY = "ready", "Ready"
UNAVAILABLE = "unavailable", "Unavailable"
class PulseSlotStatus(LabeledStrEnum):
PENDING = "pending", "Loading"
READY = "ready", "Ready"
EMPTY = "empty", "No data"
ERROR = "error", "Could not load"
class HighlightInterval(LabeledStrEnum):
DAY = "day", "Day"
WEEK = "week", "Week"
MONTH = "month", "Month"