Skip to content

Commit 34fde7c

Browse files
committed
fix lints
1 parent fecb031 commit 34fde7c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/bigframes/bigframes/core/compile/ibis_compiler/scalar_op_registry.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,12 @@ def _construct_prompt(
20442044
return ibis.struct(prompt)
20452045

20462046

2047-
def _construct_examples(examples: tuple[tuple[str, str]]) -> ibis_types.StructValue:
2047+
def _construct_examples(
2048+
examples: tuple[tuple[str, str]] | None,
2049+
) -> ibis_types.ArrayValue | None:
2050+
if examples is None:
2051+
return None
2052+
20482053
results: list[ibis_types.StructValue] = []
20492054

20502055
for example in examples:

0 commit comments

Comments
 (0)