MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / _debug_log_response

Function _debug_log_response

slack_sdk/scim/v1/internal_utils.py:135–145  ·  view source on GitHub ↗
(
    logger,
    resp: "SCIMResponse",  # noqa: F821
)

Source from the content-addressed store, hash-verified

133
134
135def _debug_log_response(
136 logger,
137 resp: "SCIMResponse", # noqa: F821
138) -> None:
139 if logger.level <= logging.DEBUG:
140 logger.debug(
141 "Received the following response - "
142 f"status: {resp.status_code}, "
143 f"headers: {(dict(resp.headers))}, "
144 f"body: {resp.raw_body}"
145 )

Callers 3

_perform_http_requestMethod · 0.70
_perform_http_requestMethod · 0.70

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected