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.

553 B
Raw Blame
from collections.abc import Sequence

from products.ai_training.backend import config
from products.ai_training.backend.logic import deletion, person_deletion


def privacy_enabled() -> bool:
    return config.privacy_enabled()


def queue_training_deletion(team_id: int, kind: str, identifiers: Sequence[str] = ()) -> None:
    deletion.queue_training_deletion(team_id, kind, identifiers)


def queue_person_training_deletion(team_id: int, distinct_ids: Sequence[str]) -> None:
    person_deletion.queue_person_training_deletion(team_id, distinct_ids)