Skip to content

Commit 1aa56d3

Browse files
committed
fix _replace_query_for_model now requires **kwargs & specifically "is_snapshot_deployable" for grants application.
1 parent 820aaaf commit 1aa56d3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/custom_materializations/custom_materializations/custom_kind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def insert(
2929
) -> None:
3030
assert type(model.kind).__name__ == "ExtendedCustomKind"
3131

32-
self._replace_query_for_model(model, table_name, query_or_df, render_kwargs)
32+
self._replace_query_for_model(model, table_name, query_or_df, render_kwargs, **kwargs)

examples/custom_materializations/custom_materializations/full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def insert(
2020
render_kwargs: t.Dict[str, t.Any],
2121
**kwargs: t.Any,
2222
) -> None:
23-
self._replace_query_for_model(model, table_name, query_or_df, render_kwargs)
23+
self._replace_query_for_model(model, table_name, query_or_df, render_kwargs, **kwargs)

0 commit comments

Comments
 (0)