Back to Prefect

execute

docs/v3/api-ref/python/prefect-bundles-execute.mdx

3.7.0677 B
Original Source

prefect.bundles.execute

Functions

execute_bundle_from_file <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L8" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
execute_bundle_from_file(key: str) -> None

Loads a bundle from a file and executes it.

Args:

  • key: The key of the bundle to execute.

execute_bundle <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/bundles/execute.py#L21" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
execute_bundle(bundle: dict[str, Any]) -> None