{{variable_name}}
syntax. When a notebook session starts, template variables are compiled and executed, making their values available for substitution throughout the notebook.
input
)name
: Variable identifier used in {{variable_name}}
substitutionkind
: Must be "input"
default
: Default value displayed in the text fielddescription
: Helper text shown to usersstatic
)name
: Variable identifierkind
: Must be "static"
options
: Array of string values for the dropdowndefault
: Default selected optiondescription
: Helper textcode_python
)name
: Variable identifierkind
: Must be "code_python"
code
: Python code that returns a list of stringsdescription
: Helper text{{runtime_file:<path>}}
: Replaces with contents of a file in the runtime{{runtime_env:<var>}}
: Replaces with environment variable value{{variable_name}}
: Standard template variable substitution{{variable_name}}
patterns with actual values during cell executionlog_level
instead of level
-24h
, -1d
[]
if no options are available