You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/04/15 03:03:09 UTC

[GitHub] [arrow] lidavidm opened a new issue, #35150: [Python] Flight objects like FlightEndpoint cannot be pickled

lidavidm opened a new issue, #35150:
URL: https://github.com/apache/arrow/issues/35150

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   e.g.
   
   ```
   >>> pyarrow.__version__
   '11.0.0'
   >>> ep = pyarrow.flight.FlightEndpoint(ticket=pyarrow.flight.Ticket(b"foo"), locations=["grpc://localhost:3000"])
   >>> ep
   <FlightEndpoint ticket: <Ticket b'foo'> locations: [<Location b'grpc://localhost:3000'>]>
   >>> pickle.dumps(ep)
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "stringsource", line 2, in pyarrow._flight.FlightEndpoint.__reduce_cython__
   TypeError: self.endpoint cannot be converted to a Python object for pickling
   ```
   
   ### Component(s)
   
   Python


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

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