MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / build_telemetry_client

Method build_telemetry_client

tests/test_telemetry.py:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 """
23 @staticmethod
24 def build_telemetry_client():
25 import mssqlcli.telemetry as telemetry # pylint: disable=import-outside-toplevel
26 return telemetry
27
28 @unittest.skipUnless('MSSQL_CLI_TELEMETRY_OPTOUT' in os.environ.keys() and
29 os.environ['MSSQL_CLI_TELEMETRY_OPTOUT'].lower() != 'true',

Calls

no outgoing calls

Tested by

no test coverage detected