Skip to content

[Python] Flight objects like FlightEndpoint cannot be pickled #35150

Closed

Description

@lidavidm

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

Activity

  1. added a commit that references this issue on Nov 5, 2026
  2. added this to the 27.0.0 milestone on Nov 17, 2026
  3. lidavidm commented on Nov 17, 2026

    @lidavidm
    MemberAuthor

    Issue resolved by pull request 55310
    #55310

  4. added a commit that references this issue on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions