Skip to main content

stage

Method
This is a method of the GatewayTraceHook class in the protocols module.
Open a tracing scope for pipeline stage name.

Signature

Parameters

str
required
The stage name (see :data:GATEWAY_TRACE_STAGES), used as the span name.

Returns

'AbstractContextManager[Any]'
A context manager delimiting the span’s lifetime.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4843