MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / _log_response

Method _log_response

googleapiclient/model.py:207–215  ·  view source on GitHub ↗

Logs debugging information about the response if requested.

(self, resp, content)

Source from the content-addressed store, hash-verified

205 return "?" + urllib.parse.urlencode(astuples)
206
207 def _log_response(self, resp, content):
208 """Logs debugging information about the response if requested."""
209 if dump_request_response:
210 LOGGER.info("--response-start--")
211 for h, v in resp.items():
212 LOGGER.info("%s: %s", h, v)
213 if content:
214 LOGGER.info(content)
215 LOGGER.info("--response-end--")
216
217 def response(self, resp, content):
218 """Convert the response wire format into a Python object.

Callers 1

responseMethod · 0.95

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected