@@ -98,7 +98,7 @@ def to_default_asset_events(
98
98
manifest : Mapping [str , Any ],
99
99
dagster_dbt_translator : Optional [DagsterDbtTranslator ] = None ,
100
100
context : Optional [AssetExecutionContext ] = None ,
101
- ) -> Iterator [Union [AssetMaterialization , AssetCheckEvaluation , Output ]]:
101
+ ) -> Iterator [Union [AssetCheckEvaluation , AssetCheckResult , AssetMaterialization , Output ]]:
102
102
"""Convert the run results of a dbt Cloud job run to a set of corresponding Dagster events.
103
103
104
104
Args:
@@ -109,12 +109,12 @@ def to_default_asset_events(
109
109
context (Optional[AssetExecutionContext]): The execution context.
110
110
111
111
Returns:
112
- Iterator[Union[AssetMaterialization, AssetCheckEvaluation , Output]]:
112
+ Iterator[Union[AssetCheckEvaluation, AssetCheckResult, AssetMaterialization , Output]]:
113
113
A set of corresponding Dagster events.
114
114
115
115
In a Dagster asset definition, the following are yielded:
116
116
- Output for refables (e.g. models, seeds, snapshots.)
117
- - AssetCheckEvaluation for dbt tests.
117
+ - AssetCheckResult for dbt tests.
118
118
119
119
For ad hoc usage, the following are yielded:
120
120
- AssetMaterialization for refables (e.g. models, seeds, snapshots.)
0 commit comments