Back to Prefect

task_run

docs/v3/api-ref/python/prefect-cli-task_run.mdx

3.6.30.dev3867 B
Original Source

prefect.cli.task_run

Task run command — native cyclopts implementation.

View and inspect task runs.

Functions

inspect <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L36" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
inspect(id: UUID)

View details about a task run.

ls <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L91" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
ls()

View recent task runs.

logs <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/task_run.py#L219" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

python
logs(id: UUID)

View logs for a task run.