snowflake.snowpark.Session.telemetry_enabled

property Session.telemetry_enabled: bool[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/session.py#L2785-L2804)

Controls whether or not the Snowpark client sends usage telemetry to Snowflake. This typically includes information like the API calls invoked, libraries used in conjunction with Snowpark, and information that will let us better diagnose and fix client side errors.

The default value is True.

Example:

>>> session.telemetry_enabled
True
>>> session.telemetry_enabled = False
>>> session.telemetry_enabled
False
>>> session.telemetry_enabled = True
>>> session.telemetry_enabled
True
Copy
语言: 中文