> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Extract Carrier • AI Agent SDK

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

# extract\_carrier

Method

> This is a method of the [**NullGatewayTraceHook**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/NullGatewayTraceHook.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

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

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def extract_carrier(carrier: 'Mapping[str, str]') -> 'Optional[Mapping[str, str]]'
```

## Parameters

**carrier** `'Mapping[str, str]'` *required*

No description available.

### Returns

**Returns** `'Optional[Mapping[str, str]]'`

The result of the operation.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L6859)
>
> `praisonaiagents/gateway/protocols.py` at line 6859


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.