Skip to main content

Framework Topics

📄️ Widget Parameters

The pool of all widget parameters for all datasets can be defined in Python in the main function of pyconfigs/parameters.py or in YAML in the "parameters" section of [squirrels.yml]. This "pool of parameters" is created the moment the API server is started with the [sqrl run] command, which includes reading lookup tables to create parameters from a data source. However, each dataset may only use a subset of the parameters in the pool (configured in the "datasets" section of [squirrels.yml]), so each dataset request, only that subset will be available to work with (for instance, in the [context.py] file or models).