mirror of
https://github.com/hanzoai/insights.git
synced 2026-11-02 14:32:45 +00:00
Mechanically re-derived: bin/debrand runs over a fresh import of posthog/posthog@fa1a9a60d4 (2026-08-06). The pipeline (.hanzo/workflows), the Dockerfiles and bin/docker* entrypoints, compose files, LLM.md and the squashed initial migration are restored from the shipped tree, same as the previous import. The prune's import-closure guard kept 21 products the new core now imports; dropping them is a refactor now, recorded rather than forced.
15 lines
421 B
Python
15 lines
421 B
Python
"""
|
|
Facade for apm.
|
|
|
|
The ONLY module other products are allowed to import.
|
|
Accept frozen dataclasses, call logic/, return frozen
|
|
dataclasses. Never return ORM instances or import DRF.
|
|
|
|
So far the only thing consuming products need from APM is whether it is switched
|
|
on for a given team, so that is all this exposes for now.
|
|
"""
|
|
|
|
from products.apm.backend.feature_flags import is_apm_enabled
|
|
|
|
__all__ = ["is_apm_enabled"]
|