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

# execute

# `prefect.bundles.execute`

## Functions

### `execute_bundle_from_file` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L10](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L10)</sup>

```python theme={null}
execute_bundle_from_file(key: str) -> None
```

Loads a bundle from a file and executes it.

If the bundle declares a sidecar zip of included files, the zip is read from
the directory of the bundle file and its contents are extracted into the
working directory before the flow runs.

**Args:**

* `key`: The key of the bundle to execute.

### `execute_bundle` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L41](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L41)</sup>

```python theme={null}
execute_bundle(bundle: dict[str, Any]) -> None
```
