We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fecb031 commit 34fde7cCopy full SHA for 34fde7c
1 file changed
packages/bigframes/bigframes/core/compile/ibis_compiler/scalar_op_registry.py
@@ -2044,7 +2044,12 @@ def _construct_prompt(
2044
return ibis.struct(prompt)
2045
2046
2047
-def _construct_examples(examples: tuple[tuple[str, str]]) -> ibis_types.StructValue:
+def _construct_examples(
2048
+ examples: tuple[tuple[str, str]] | None,
2049
+) -> ibis_types.ArrayValue | None:
2050
+ if examples is None:
2051
+ return None
2052
+
2053
results: list[ibis_types.StructValue] = []
2054
2055
for example in examples:
0 commit comments