Skip to main content

prefect.cli.task

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

Functions

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.