pyarrow.flight.FlightEndpoint¶
- class pyarrow.flight.FlightEndpoint(ticket, locations)¶
Bases:
pyarrow.lib._Weakrefable
A Flight stream, along with the ticket and locations to access it.
- __init__()¶
Create a FlightEndpoint from a ticket and list of locations.
- Parameters
ticket (Ticket or bytes) – the ticket needed to access this flight
locations (list of string URIs) – locations where this flight is available
- Raises
ArrowException – If one of the location URIs is not a valid URI.
Methods
Create a FlightEndpoint from a ticket and list of locations.
Attributes
Get the ticket in this endpoint.
- locations¶
- ticket¶
Get the ticket in this endpoint.