Skip to content
Merged
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
23 changes: 23 additions & 0 deletions backend/src/find_api/diagnostics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""Privacy-safe local diagnostics helpers.

This package collects and redacts support bundles for offline debugging.
Nothing here uploads data or contacts external services.
"""

from __future__ import annotations

from typing import Any

__all__ = ["collect_diagnostics_bundle", "redact_payload"]


def __getattr__(name: str) -> Any:
if name == "collect_diagnostics_bundle":
from find_api.diagnostics.bundle import collect_diagnostics_bundle

return collect_diagnostics_bundle
if name == "redact_payload":
from find_api.diagnostics.redact import redact_payload

return redact_payload
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
Loading
Loading