pyarrow.flight.FlightCallOptions#

class pyarrow.flight.FlightCallOptions(timeout=None, write_options=None, headers=None, IpcReadOptions read_options=None)#

Bases: pyarrow.lib._Weakrefable

RPC-layer options for a Flight call.

__init__()#

Create call options.

Parameters
timeoutfloat, None

A timeout for the call, in seconds. None means that the timeout defaults to an implementation-specific value.

write_optionspyarrow.ipc.IpcWriteOptions, optional

IPC write options. The default options can be controlled by environment variables (see pyarrow.ipc).

headersList[Tuple[str, str]], optional

A list of arbitrary headers as key, value tuples

read_optionspyarrow.ipc.IpcReadOptions, optional

Serialization options for reading IPC format.

Methods

__init__

Create call options.