Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prefect.io/llms.txt

Use this file to discover all available pages before exploring further.

prefect.cli.task

Task command — native cyclopts implementation. Work with task scheduling.

Functions

task_serve

task_serve(*args: Any, **kwargs: Any) -> Any

serve

serve(entrypoints: Annotated[Optional[list[str]], cyclopts.Parameter(help='The paths to one or more tasks, in the form of `./path/to/file.py:task_func_name`.')] = None)
Serve the provided tasks so that their runs may be submitted to and executed in the engine.