Skip to main content

Python

Run python scripts, dependencies are hard-coded in the agent image

Type: python

Configuration

Examples

Get the current task-id from python os.environ

runops tasks create --target python-type -s 'import os;print(os.environ["RUNOPS_TASK_ID"])'