Return True if crash reporting should be active.
()
| 50 | |
| 51 | |
| 52 | def telemetry_enabled() -> bool: |
| 53 | """Return True if crash reporting should be active.""" |
| 54 | if os.environ.get(NO_TELEMETRY_ENV_VAR): |
| 55 | return False |
| 56 | return True |
| 57 | |
| 58 | |
| 59 | def initialize_telemetry(**init_overrides: Any) -> bool: |
no outgoing calls