(and optionally exclude others)
dbt model
, then click the option All models
.
dbt project name
input field, enter the name of the dbt project
that contains the models you want to build and run (e.g. demo
).
dbt profile target
input field, enter the name of the dbt
connection profile (e.g. dev
) that you want to use when running the
selected dbt models.
--select
and --exclude
flags and syntax.
For more information on the --select
and --exclude
syntax,
read dbt’s documentation.
For example:
dbt
command by writing the following in your block’s code:
block_output
function.
block_uuid
Optional | ✅ |
Type | str |
Example | 'data_loader_block' |
parse
parse
argument isn’t present, then the fetched data from the upstream block’s output
will be interpolated as is.
Optional | ✅ |
Type | function |
Example | lambda data, variables: data['runtime'] * variables['tries'] |
data
If the block_uuid
argument isn’t present, then the 1st argument in the lambda function is
a list of objects.
The list of objects contain the data from an upstream block’s output.
The positional order of the data in the list corresponds to the current block’s upstream blocks
order.
For example, if the current block has the following upstream blocks with the following output:
load_api_data
: [1, 2, 3]
load_users_data
: { 'mage': 'powerful' }
Optional | ❌ |
Type | If block_uuid argument is present, then the type depends on the output from that block. If block_uuid isn’t present, then the type is list . |
Example | { 'mage': 'powerful' } |
variables
A dictionary containing pipeline variables and runtime variables.
Optional | ❌ |
Type | dict |
Example | { 'fire': 40 } |
block_uuid
block_uuid