> ## 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.

# Record Import • AI Agents Framework

> record_import: Record an import timing.

# record\_import

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**Profiler**](../classes/Profiler) class in the [**profiler**](../modules/profiler) module.

Record an import timing.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def record_import(module: str, duration_ms: float, parent: str) -> None
```

## Parameters

<ParamField query="module" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="duration_ms" type="float" required={true}>
  No description available.
</ParamField>

<ParamField query="parent" type="str" required={false} default="''">
  No description available.
</ParamField>

## Uses

* `cls.is_enabled`
* `ImportRecord`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L307">
  `praisonai/profiler.py` at line 307
</Card>
