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

Class RawModel

googleapiclient/model.py:314–331  ·  view source on GitHub ↗

Model class for requests that don't return JSON. Serializes and de-serializes between JSON and the Python object representation of HTTP request, and returns the raw bytes of the response body.

Source from the content-addressed store, hash-verified

312
313
314class RawModel(JsonModel):
315 """Model class for requests that don't return JSON.
316
317 Serializes and de-serializes between JSON and the Python
318 object representation of HTTP request, and returns the raw bytes
319 of the response body.
320 """
321
322 accept = "*/*"
323 content_type = "application/json"
324 alt_param = None
325
326 def deserialize(self, content):
327 return content
328
329 @property
330 def no_content_response(self):
331 return ""
332
333
334class MediaModel(JsonModel):

Callers 1

methodFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…