Environment variables
In the Variables tab, you can define as many custom variables as you need that can then be used in the code editor.
To add a new variable:
- Click + Add Variable.
- Type in a name for your variable.
- Type in a value.
- Check Secure to keep this value private when exporting templates (optional).
You can delete a variable by clicking its corresponding Delete button on the right side.
The variables will be imported into your code as follows:
from environments import (
variable_name_1,
variable_name_2,
variable_name_3
)
Updated about 2 months ago