pyarrow.flight.FlightEndpoint¶
- class pyarrow.flight.FlightEndpoint(ticket, locations)¶
Bases:
_Weakrefable
A Flight stream, along with the ticket and locations to access it.
- __init__()¶
Create a FlightEndpoint from a ticket and list of locations.
Methods
Create a FlightEndpoint from a ticket and list of locations.
deserialize
(type cls, serialized)Parse the wire-format representation of this type.
serialize
(self)Get the wire-format representation of this type.
Attributes
Get the ticket in this endpoint.
- deserialize(type cls, serialized)¶
Parse the wire-format representation of this type.
Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.
- locations¶
- serialize(self)¶
Get the wire-format representation of this type.
Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.
- ticket¶
Get the ticket in this endpoint.