Skip to content

Commit a2f430b

Browse files
committed
make context_cols silent
1 parent 90de5c6 commit a2f430b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spells/extension.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def inner(names: list[str]) -> pl.Expr:
2828
return inner
2929

3030

31-
def context_cols(attr, silent: bool = False) -> dict[str, ColSpec]:
31+
def context_cols(attr, silent: bool = True) -> dict[str, ColSpec]:
3232
ext = {
3333
f"seen_{attr}": ColSpec(
3434
col_type=ColType.NAME_SUM,
@@ -145,7 +145,7 @@ def context_cols(attr, silent: bool = False) -> dict[str, ColSpec]:
145145
return ext
146146

147147

148-
def stat_cols(attr: str, silent: bool = False) -> dict[str, ColSpec]:
148+
def stat_cols(attr: str, silent: bool = True) -> dict[str, ColSpec]:
149149
ext = {
150150
f"{attr}_deck_weight_group": ColSpec(
151151
col_type=ColType.AGG, expr=pl.col(f"{attr}") * pl.col(ColName.DECK)

0 commit comments

Comments
 (0)