MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / convert_params

Function convert_params

slack_sdk/web/async_internal_utils.py:91–94  ·  view source on GitHub ↗
(values: dict)

Source from the content-addressed store, hash-verified

89 if logger.level <= logging.DEBUG:
90
91 def convert_params(values: dict) -> dict:
92 if not values or not isinstance(values, dict):
93 return {}
94 return {k: ("(bytes)" if isinstance(v, bytes) else v) for k, v in values.items()}
95
96 headers = {
97 k: "(redacted)" if k.lower() == "authorization" else v for k, v in req_args.get("headers", {}).items()

Callers 4

_urllib_api_callMethod · 0.85
_urllib_api_callMethod · 0.85
_request_with_sessionFunction · 0.85
_urllib_api_callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected