Expand description
Deferred pickling support for Monarch.
This module provides utilities for deferring the pickling of objects that contain async values (futures/tasks) that must be resolved before the final pickle can be produced.
Structs§
- Pending
Message - A message that is pending resolution of async values before it can be sent.
- Pickling
State - Python-visible wrapper for the result of a pickling operation.
- Pickling
State Inner - Inner data for a completed pickling operation.
Functions§
- pickle
- Pickle an object with support for pending pickles and tensor engine references.
- pickle_
to_ part - Pickle a Python object and return the serialized data as a
Part. - push_
pending_ pickle - Push a pending pickle to the active pickling state (Rust-only).
- reduce_
shared - Reduce a PyShared for pickling.
- register_
python_ bindings - Register the pickle Python bindings into the given module.