pyarrow.flight.Location#

class pyarrow.flight.Location(uri)#

Bases: pyarrow.lib._Weakrefable

The location of a Flight service.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

equals(self, Location other)

for_grpc_tcp(host, port)

Create a Location for a TCP-based gRPC service.

for_grpc_tls(host, port)

Create a Location for a TLS-based gRPC service.

for_grpc_unix(path)

Create a Location for a domain socket-based gRPC service.

Attributes

uri

equals(self, Location other)#
static for_grpc_tcp(host, port)#

Create a Location for a TCP-based gRPC service.

static for_grpc_tls(host, port)#

Create a Location for a TLS-based gRPC service.

static for_grpc_unix(path)#

Create a Location for a domain socket-based gRPC service.

uri#