.play.ts files. Python calls a saved or prebuilt play over HTTP.
Environment
Put the Deepline host and workspace key in.env.deepline. The example Python
script reads that file directly.
Start a run
This is the shape of a small Python caller.Poll until done
completed, failed, or cancelled.
Write the result
For a first script, write the final response to JSON. Convert to CSV only after you know the result shape.When to use Python
Use Python when the job already starts in:- Airflow
- a CRM export script
- a data warehouse task
- a notebook
- a backend service that should not shell out