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

Function _remove_symbols

mssqlcli/telemetry.py:256–260  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

254
255
256def _remove_symbols(s):
257 if isinstance(s, str):
258 for c in '$%^&|':
259 s = s.replace(c, '_')
260 return s

Callers 4

generate_payloadMethod · 0.85
_get_env_stringFunction · 0.85
_get_shell_typeFunction · 0.85
_get_stack_traceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected