pyarrow.flight.Action

class pyarrow.flight.Action(action_type, buf)

Bases: _Weakrefable

An action executable on a Flight service.

__init__()

Create an action from a type and a buffer.

Parameters:
action_typebytes or str
bufBuffer or bytes-like object

Methods

__init__

Create an action from a type and a buffer.

Attributes

body

The action body (arguments for the action).

type

The action type.

body

The action body (arguments for the action).

type

The action type.