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

Method

> This is a method of the [**ProfilerCompat**](https://praison.ai/docs/sdk/reference/praisonai/classes/ProfilerCompat.md) class in the [**profiler**](https://praison.ai/docs/sdk/reference/praisonai/modules/profiler.md) 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

**module** `str` *required*

No description available.

**duration\_ms** `float` *required*

No description available.

**parent** `str` (default: '')

No description available.

## Uses

* `record_import`
* `get_profiler`

## Used By

* [`ProfilerCompat.record_import`](../functions/ProfilerCompat-record_import)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L816)
>
> `praisonai/profiler.py` at line 816


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