You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/06/18 17:14:02 UTC

[GitHub] [arrow] lidavidm commented on a change in pull request #7481: ARROW-9175: [FlightRPC][C++] Expose peer to server

lidavidm commented on a change in pull request #7481:
URL: https://github.com/apache/arrow/pull/7481#discussion_r442380286



##########
File path: python/pyarrow/_flight.pyx
##########
@@ -1413,6 +1413,10 @@ cdef class ServerCallContext:
         """
         return tobytes(self.context.peer_identity())
 
+    def peer(self):
+        """Get the address of the peer."""
+        return tobytes(self.context.peer())

Review comment:
       Good point - fixed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org