Extract Carrier • AI Agent SDK

extract_carrier: No-op: no parent context to continue when tracing is disabled.

extract_carrier

Method

</div>

This is a method of the NullGatewayTraceHook class in the protocols module.

No-op: no parent context to continue when tracing is disabled.

Signature

python
def extract_carrier(carrier: 'Mapping[str, str]') -> 'Optional[Mapping[str, str]]'

Parameters

ParamField 'Mapping[str, str]'

No description available.

Returns

ResponseField 'Optional[Mapping[str, str]]'

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6945