[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.flight.ServerCallContext.html [Back]  [Original]

pyarrow.flight.ServerCallContext — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.flight.ServerCallContext#

class pyarrow.flight.ServerCallContext#

Bases: _Weakrefable

Per-call state/context.

__init__(*args, **kwargs)#

Methods

__init__(*args,**kwargs)

add_header(self,key,value)

Add a response header.

add_trailer(self,key,value)

Add a response trailer.

get_middleware(self,key)

Get a middleware instance by key.

is_cancelled(self)

Check if the current RPC call has been canceled by the client.

peer(self)

Get the address of the peer.

peer_identity(self)

Get the identity of the authenticated peer.

add_header(self, key, value)#

Add a response header.

add_trailer(self, key, value)#

Add a response trailer.

get_middleware(self, key)#

Get a middleware instance by key.

Returns None if the middleware was not found.

is_cancelled(self)#

Check if the current RPC call has been canceled by the client.

peer(self)#

Get the address of the peer.

peer_identity(self)#

Get the identity of the authenticated peer.

May be the empty string.


Web Proxy Viewer  |  New URL  |  Original Page