MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / _send

Function _send

explorer/telemetry.py:96–103  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

94
95
96def _send(data):
97 from explorer import app_settings
98 try:
99 requests.post(app_settings.EXPLORER_COLLECT_ENDPOINT_URL,
100 data=data,
101 headers={"Content-Type": "application/json"})
102 except Exception as e:
103 logger.warning(f"Failed to send stats: {e}")
104
105
106def _get_install_quarter():

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected