| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.flight.ClientMiddleware.html | [Back] [Original] |
Section Navigation
Bases: _Weakrefable
Client-side middleware for a call, instantiated per RPC.
Methods here should be fast and must be infallible: they should not raise exceptions or stall indefinitely.
Methods
|
|
|
A callback when the call finishes. |
|
A callback when headers are received. |
|
A callback before headers are sent. |
A callback when the call finishes.
The default implementation does nothing.
ArrowExceptionIf the call errored, this is the equivalent exception. Will be None if the call succeeded.
A callback when headers are received.
The default implementation does nothing.
dictA dictionary of headers from the server. Keys are strings and values are lists of strings (for text headers) or bytes (for binary headers).
A callback before headers are sent.
dictA dictionary of header values to add to the request, or None if no headers are to be added. The dictionary should have string keys and string or list-of-string values.
Bytes values are allowed, but the underlying transport may not support them or may restrict them. For gRPC, binary values are only allowed on headers ending in -bin.
Header names must be lowercase ASCII.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |