Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tabpfn_common_utils/telemetry/core/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Suppress PostHog and analytics-python logs (unless explicitly enabled)
if os.getenv("TABPFN_ENABLE_TELEMETRY_LOGS", "0").lower() not in ("1", "true"):
# Supress warnings
# Suppress warnings
for logger_name in ["posthog", "analytics", "posthog.analytics"]:
logging.getLogger(logger_name).setLevel(logging.CRITICAL)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def _parse(raw: str) -> tuple[Optional[Outcome], Optional[Dict[str, Any]]]:

def _should_prompt() -> bool:
"""
Check if the user should be prompted to subscribe to the newsletter.
Check if the user should be prompted to share anonymous usage analytics.
"""
return False


def _on_done(res: PromptResult) -> None:
"""Done callback for newsletter prompt.
"""Done callback for identity prompt.

Args:
res: The prompt result.
Expand Down