Notebook template variable.

Hierarchy

  • NotebookTemplateVariable

Constructors

Properties

_default?: string

(deprecated) The default value for the template variable on notebook load. Cannot be used in conjunction with defaults.

availableValues?: string[]

The list of values that the template variable drop-down is limited to.

Query used to dynamically populate the list of available values for the template variable.

dataSourceMappings?: {
    [key: string]: string;
}

Mapping of data source names to template variable values.

Type declaration

  • [key: string]: string
defaults?: string[]

One or many default values for the template variable. Cannot be used in conjunction with default.

name: string

The name of the variable.

placement?: string

The placement of the template variable in the notebook.

prefix?: string

The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.

type?: string

The type of the template variable.

Generated using TypeDoc