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.
Methods
Create an action from a type and a buffer.
deserialize
(type cls, serialized)Parse the wire-format representation of this type.
serialize
(self)Get the wire-format representation of this type.
Attributes
The action body (arguments for the action).
The action type.
- body¶
The action body (arguments for the action).
- deserialize(type cls, serialized)¶
Parse the wire-format representation of this type.
Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.
- serialize(self)¶
Get the wire-format representation of this type.
Useful when interoperating with non-Flight systems (e.g. REST services) that may want to return Flight types.
- type¶
The action type.