Run Python project
fastero_run_python_projectStart one run of a Python project's entrypoint now: it is queued, then runs as a script on a machine of its own with the organisation's and project's Secrets as environment variables, using compute. Returns the run at once, with its _id (the runId) and status queued; fastero_list_python_runs follows its status (queued, starting, running, then succeeded, failed or cancelled) and error, and fastero_get_python_run_log reads what it printed once it has finished. entrypointId defaults to 'main', which a local project has from the start. A project linked to a repository in the Fastero app starts with an entrypoint for each of its scripts, named after the file; one linked with fastero_create_python_project starts with none, and fastero_ensure_python_entrypoint adds one. An entrypoint the project lacks is refused ("Unknown entrypointId"), and fastero_get_python_project lists those it has. To run it on a timetable, fastero_set_python_schedule. A deleted project answers "Project not found". Owners, admins and editors of the project can start runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project’s id, from fastero_list_projects. | |
| entrypointId | No | An entrypoint's id, from fastero_ensure_python_entrypoint or the entrypoints in fastero_get_python_project; a 'local' project has 'main', the default. | |
| pythonProjectId | Yes | A Python project’s id, from fastero_list_python_projects. |