bytewax.serde
#
Serialization for recovery and transport.
Classes#
- class Serde#
- Bases:
A serialization format.
This must support serializing arbitray Python objects and reconstituting them exactly. This means using things like
json.dumps
andjson.loads
directly will not work, as they do not support things like datetimes, integer keys, etc.Even if all of your dataflow’s state is serializeable by a format, Bytewax generates Python objects to store internal data, and they must round-trip correctly or there will be errors.