The code editor is getOperate’s integrated development environment. It allows you to write code in TypeScript, Python, Go, Bash, SQL, or even running any docker container through getOperate’s Bash support.
+ Type
button and pick the right resource type. For example, to access the u/user/my_postgresql
resource of the posgtgresql
Resource Type we would create a script:
+ Resource
, you’ll get to pick a resource from your workspace and be able to fetch it from within the script.
Python:
GOPRT_TOKEN
.
$var:<variable_path>
and replaced by the worker at time of execution of the script by fetching the value with the job’s permissions. So the job will fail if the job’s permissions inherited from the caller do not allow access to the variable. This is the same mechanism used for resource, but they use $res:
instead of $var:
.
+ Variable
, you’ll get to pick a variable from your workspace and be able to fetch it from within the script.
Python: