Make Python file runnable
fastero_ensure_python_entrypointMake a file in a Python project runnable by giving it an entrypoint, and return that entrypoint id. Only a .py file can be an entrypoint. Safe to call again: an existing entrypoint for the same path is returned unchanged, because schedules are stored against its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the .py file to make runnable, e.g. 'main.py' or 'scripts/weekly.py'. | |
| projectId | Yes | The project’s id, from fastero_list_projects. | |
| pythonProjectId | Yes | A Python project’s id, from fastero_list_python_projects. |