Home | Trees | Indices | Help |
---|
|
Model class for protocol buffers. Serializes and de-serializes the binary protocol buffer sent in the HTTP request and response bodies.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
accept = 'application/x-protobuf'
|
|||
content_type = 'application/x-protobuf'
|
|||
alt_param = 'proto'
|
|
|||
Inherited from |
|
Constructs a ProtocolBufferModel. The serialzed protocol buffer returned in an HTTP response will be de-serialized using the given protocol buffer class. Args: protocol_buffer: The protocol buffer class used to de-serialize a response from the API.
|
Perform the actual Python object serialization. Args: body_value: object, the request body as a Python object. Returns: string, the body in serialized form.
|
Perform the actual deserialization from response string to Python object. Args: content: string, the body of the HTTP response Returns: The body de-serialized as a Python object.
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jun 14 15:57:28 2019 | http://epydoc.sourceforge.net |