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

Class MediaModel

googleapiclient/model.py:334–351  ·  view source on GitHub ↗

Model class for requests that return Media. 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

332
333
334class MediaModel(JsonModel):
335 """Model class for requests that return Media.
336
337 Serializes and de-serializes between JSON and the Python
338 object representation of HTTP request, and returns the raw bytes
339 of the response body.
340 """
341
342 accept = "*/*"
343 content_type = "application/json"
344 alt_param = "media"
345
346 def deserialize(self, content):
347 return content
348
349 @property
350 def no_content_response(self):
351 return ""
352
353
354class ProtocolBufferModel(BaseModel):

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…