pyarrow.flight.FlightCallOptions#
- class pyarrow.flight.FlightCallOptions(timeout=None, write_options=None, headers=None, IpcReadOptions read_options=None)#
Bases:
_WeakrefableRPC-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
- read_options
pyarrow.ipc.IpcReadOptions, optional Serialization options for reading IPC format.
- timeout
Methods
Create call options.
Attributes
Get list of headers (key, value tuples) for client's context
Get serialization options for reading IPC format
Get timeout for the call (in seconds)
Get IPC write options
- headers#
Get list of headers (key, value tuples) for client’s context
- read_options#
Get serialization options for reading IPC format
- timeout#
Get timeout for the call (in seconds)
- write_options#
Get IPC write options