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

Method serialize

googleapiclient/model.py:243–252  ·  view source on GitHub ↗

Perform the actual Python object serialization. Args: body_value: object, the request body as a Python object. Returns: string, the body in serialized form.

(self, body_value)

Source from the content-addressed store, hash-verified

241 raise HttpError(resp, content)
242
243 def serialize(self, body_value):
244 """Perform the actual Python object serialization.
245
246 Args:
247 body_value: object, the request body as a Python object.
248
249 Returns:
250 string, the body in serialized form.
251 """
252 _abstract()
253
254 def deserialize(self, content):
255 """Perform the actual deserialization from response string to Python

Callers 2

requestMethod · 0.95
methodNextFunction · 0.45

Calls 1

_abstractFunction · 0.85

Tested by

no test coverage detected