You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/07/21 16:38:53 UTC

[arrow] branch master updated: ARROW-2890: [Plasma] Make python client release method private

This is an automated email from the ASF dual-hosted git repository.

uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 89d92dd  ARROW-2890: [Plasma] Make python client release method private
89d92dd is described below

commit 89d92dd889c3e1b518935a7dffe66537264da07a
Author: Philipp Moritz <pc...@gmail.com>
AuthorDate: Sat Jul 21 18:37:40 2018 +0200

    ARROW-2890: [Plasma] Make python client release method private
    
    Author: Philipp Moritz <pc...@gmail.com>
    
    Closes #2299 from pcmoritz/plasma-release and squashes the following commits:
    
    083f140e <Philipp Moritz> make python client release method private
---
 python/pyarrow/_plasma.pyx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/pyarrow/_plasma.pyx b/python/pyarrow/_plasma.pyx
index ba52822..ea6a8da 100644
--- a/python/pyarrow/_plasma.pyx
+++ b/python/pyarrow/_plasma.pyx
@@ -219,7 +219,7 @@ cdef class PlasmaBuffer(Buffer):
 
         If the plasma client has been shut down, then don't do anything.
         """
-        self.client.release(self.object_id)
+        self.client._release(self.object_id)
 
 
 cdef class PlasmaClient:
@@ -455,7 +455,7 @@ cdef class PlasmaClient:
         with nogil:
             check_status(self.client.get().Seal(object_id.data))
 
-    def release(self, ObjectID object_id):
+    def _release(self, ObjectID object_id):
         """
         Notify Plasma that the object is no longer needed.