schema.serde.serde.Serde

Serializes and deserializes a Python type into a wire format.

Methods

deserialize

View source

Deserializes the given wire format into a Python object.

Args

serialized
The serialized object.
serialized_version
The version of the serialized object. This is used to handle changes in deserialization logic across different versions.
**kwargs
Additional keyword arguments to pass to the deserialization function.

Returns
The deserialized object.

serialize

View source

Serializes the given object into a wire format.

Design a Mobile Site
View Site in Mobile | Classic
Share by: