nexusrpc.handler.OperationContext

Context for the execution of the requested operation method.

Includes information from the request.

Method __new__ Undocumented
Class Variable headers Optional header fields sent by the caller.
Class Variable operation The name of the operation.
Class Variable request_deadline The deadline for the operation handler method. Note that this is the time by which the current _request_ should complete, not the _operation_'s deadline.
Class Variable service The name of the service that the operation belongs to.
Class Variable task_cancellation Task cancellation information indicating that a running task should be interrupted. This is distinct from operation cancellation.

Optional header fields sent by the caller.

The name of the operation.

The deadline for the operation handler method. Note that this is the time by which the current _request_ should complete, not the _operation_'s deadline.

The name of the service that the operation belongs to.

Task cancellation information indicating that a running task should be interrupted. This is distinct from operation cancellation.