pyarrow.flight.FlightCallOptions¶
- class pyarrow.flight.FlightCallOptions(timeout=None, write_options=None, headers=None)¶
Bases:
pyarrow.lib._Weakrefable
RPC-layer options for a Flight call.
- __init__()¶
Create call options.
- Parameters
timeout (float, None) – A timeout for the call, in seconds. None means that the timeout defaults to an implementation-specific value.
write_options (pyarrow.ipc.IpcWriteOptions, optional) – IPC write options. The default options can be controlled by environment variables (see pyarrow.ipc).
headers (List[Tuple[str, str]], optional) – A list of arbitrary headers as key, value tuples
Methods
Create call options.