Skip to content

Commit

Permalink
pass through retry_policy in dbt_asset
Browse files Browse the repository at this point in the history
  • Loading branch information
prha committed May 30, 2024
1 parent 005d434 commit 1138555
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
DagsterInvalidDefinitionError,
Nothing,
PartitionsDefinition,
RetryPolicy,
TimeWindowPartitionsDefinition,
multi_asset,
)
Expand Down Expand Up @@ -78,6 +79,7 @@ def dbt_assets(
op_tags: Optional[Mapping[str, Any]] = None,
required_resource_keys: Optional[Set[str]] = None,
project: Optional[DbtProject] = None,
retry_policy: Optional[RetryPolicy] = None,
) -> Callable[[Callable[..., Any]], AssetsDefinition]:
"""Create a definition for how to compute a set of dbt resources, described by a manifest.json.
When invoking dbt commands using :py:class:`~dagster_dbt.DbtCliResource`'s
Expand Down Expand Up @@ -403,6 +405,7 @@ def partitionshop_dbt_assets(context: AssetExecutionContext, dbt: DbtCliResource
op_tags=resolved_op_tags,
check_specs=check_specs,
backfill_policy=backfill_policy,
retry_policy=retry_policy,
)


Expand Down

0 comments on commit 1138555

Please sign in to comment.