You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Python] Flight objects like FlightEndpoint cannot be pickled #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
Activity
apacheGH-35150: [Python] Compare FlightInfo directly in pickle test
lidavidm commentedon Nov 17, 2026
Issue resolved by pull request 55310
#55310
apacheGH-35150: [Python] Make Flight value types pickleable (apache#5…