Use a DBT Run
Once function.run() returns, use the Run object to access an individual output or the complete set of outputs.
output
Get run's output by name.
Parameters:
| Name |
Type |
Description |
Default |
output_name
|
str
|
|
required
|
as_key
|
bool
|
If True, return result as key.
|
False
|
as_dict
|
bool
|
If True, return result as dictionary.
|
False
|
Returns:
| Type |
Description |
Entity | dict | str | None
|
|
outputs
Get run's outputs.
Parameters:
| Name |
Type |
Description |
Default |
as_key
|
bool
|
If True, return results as keys.
|
False
|
as_dict
|
bool
|
If True, return results as dictionaries.
|
False
|
Returns: