class documentation

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.
def __new__(cls, *args: Any, **kwargs: Any):

Undocumented

headers: Mapping[str, str] =

Optional header fields sent by the caller.

operation: str =

The name of the operation.

request_deadline: datetime | None =

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.

service: str =

The name of the service that the operation belongs to.

task_cancellation: OperationTaskCancellation =

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