Now that we can serialize Python objects in Arrow, let's include a slightly higher level API to the plasma Python bindings that exposes storing Python objects in Plasma (we also need this for Ray).
The API I'd like to propose is very simple:
def put(PlasmaClient client, value, object_id=None)
Puts the Python object value into the store and returns the Object ID associated with it. If object_id is set, use that one instead of generating a random one.
def get(PlasmaClient client, object_ids, timeout_ms=-1):
Returns a list of Python objects represented by the Object IDs.
Let me know if you have feedback or thoughts!