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

# SIFR-PYTRUST-0004: Dynamic Python import requires an explicit trust annotation.

> Dynamic Python import requires an explicit trust annotation.

`SIFR-PYTRUST-0004` belongs to the **Embedded Python trust** diagnostic family. It means: dynamic Python import requires an explicit trust annotation.

## Why It Happens

An embedded Python import or native extension is blocked or untrusted under the project trust policy. Declare trust explicitly for the required Python surface.

<Info>
  Use `sifr --explain SIFR-PYTRUST-0004` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field                  | Value                                                                                                  |
| ---------------------- | ------------------------------------------------------------------------------------------------------ |
| Code                   | `SIFR-PYTRUST-0004`                                                                                    |
| Family                 | `PYTRUST`                                                                                              |
| Severity               | Error                                                                                                  |
| Stability              | stable                                                                                                 |
| Owner                  | `sifr_lowering`                                                                                        |
| Representative fixture | `crates/sifr_lowering/src/lower/python_trust_tests.rs::dynamic_python_import_requires_trust_decorator` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
