Skip to content
You're reading the docs for DRE 0.3 (v0.3.2). This page for 0.5 · New in 0.5

sets.yml reference

Set names mapped to their definitions.

Where: sets.yml, or any YAML file of Sets.

For editor autocomplete and validation, add this as the first line of the file (editor setup):

# yaml-language-server: $schema=https://getdre.com/schemas/v0.3/sets.schema.json

The file maps names to entries; each entry has these keys.

Key Type Default Description
profile string The connection a Binding with this Set runs on. May use Jinja with var(), env_var(), run.* and target.name.
vars map Variables, read in SQL and YAML with var('name'). Values can be strings, numbers, booleans, lists or maps.
locale string The locale for this Set’s number filters (fr-FR), above the report’s.