Skip to content

Commit 617fb66

Browse files
committed
debug: print job ID for doc test. This commit should be rolled back before PR merge
1 parent 50ea329 commit 617fb66

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bigframes/bigquery/_operations/ai.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def generate(
5656
5757
>>> import bigframes.pandas as bpd
5858
>>> import bigframes.bigquery as bbq
59+
>>> bpd.options.display.progress_bar = "auto"
5960
>>> country = bpd.Series(["Japan", "Canada"])
6061
>>> bbq.ai.generate(("What's the capital city of ", country, " one word only"))
6162
0 {'result': 'Tokyo\\n', 'full_response': '{"cand...

notebooks/generative_ai/ai_functions.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
},
7272
{
7373
"cell_type": "code",
74-
"execution_count": null,
74+
"execution_count": 1,
7575
"id": "c9f924aa",
7676
"metadata": {},
7777
"outputs": [],
@@ -97,15 +97,15 @@
9797
},
9898
{
9999
"cell_type": "code",
100-
"execution_count": 3,
100+
"execution_count": 2,
101101
"id": "471a47fe",
102102
"metadata": {},
103103
"outputs": [
104104
{
105105
"name": "stderr",
106106
"output_type": "stream",
107107
"text": [
108-
"/usr/local/google/home/sycai/src/python-bigquery-dataframes/bigframes/core/global_session.py:103: DefaultLocationWarning: No explicit location is set, so using location US for the session.\n",
108+
"/usr/local/google/home/sycai/src/python-bigquery-dataframes/bigframes/core/global_session.py:113: DefaultLocationWarning: No explicit location is set, so using location US for the session.\n",
109109
" _global_session = bigframes.session.connect(\n"
110110
]
111111
},
@@ -117,7 +117,7 @@
117117
"dtype: struct<result: string, full_response: extension<dbjson<JSONArrowType>>, status: string>[pyarrow]"
118118
]
119119
},
120-
"execution_count": 3,
120+
"execution_count": 2,
121121
"metadata": {},
122122
"output_type": "execute_result"
123123
}

0 commit comments

Comments
 (0)