pyarrow.flight.Action

class pyarrow.flight.Action(action_type, buf)

Bases: pyarrow.lib._Weakrefable

An action executable on a Flight service.

__init__()

Create an action from a type and a buffer.

Parameters
  • action_type (bytes or str) –

  • buf (Buffer 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.