pyarrow.flight.ActionType

class pyarrow.flight.ActionType(type, description)

Bases: _ActionType

A type of action that is executable on a Flight service.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

make_action(self, buf)

Create an Action with this type.

Attributes

description

Alias for field number 1

type

Alias for field number 0

count(value, /)

Return number of occurrences of value.

description

Alias for field number 1

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.

make_action(self, buf)

Create an Action with this type.

Parameters:
bufobj

An Arrow buffer or Python bytes or bytes-like object.

type

Alias for field number 0