You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2017/08/26 22:48:00 UTC

[jira] [Created] (ARROW-1412) [Plasma] Add higher level API for putting and getting Python objects

Philipp Moritz created ARROW-1412:
-------------------------------------

             Summary: [Plasma] Add higher level API for putting and getting Python objects
                 Key: ARROW-1412
                 URL: https://issues.apache.org/jira/browse/ARROW-1412
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Philipp Moritz


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!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)