Skip to content

Commit 68f1a10

Browse files
committed
add to pandas module
1 parent ad11cc8 commit 68f1a10

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bigframes/pandas/io/api.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def read_gbq( # type: ignore[overload-overlap]
184184
use_cache: Optional[bool] = ...,
185185
col_order: Iterable[str] = ...,
186186
dry_run: Literal[False] = ...,
187+
allow_large_results: bool = ...,
187188
) -> bigframes.dataframe.DataFrame:
188189
...
189190

@@ -200,6 +201,7 @@ def read_gbq(
200201
use_cache: Optional[bool] = ...,
201202
col_order: Iterable[str] = ...,
202203
dry_run: Literal[True] = ...,
204+
allow_large_results: bool = ...,
203205
) -> pandas.Series:
204206
...
205207

@@ -215,6 +217,7 @@ def read_gbq(
215217
use_cache: Optional[bool] = None,
216218
col_order: Iterable[str] = (),
217219
dry_run: bool = False,
220+
allow_large_results: bool = True,
218221
) -> bigframes.dataframe.DataFrame | pandas.Series:
219222
_set_default_session_location_if_possible(query_or_table)
220223
return global_session.with_default_session(
@@ -228,6 +231,7 @@ def read_gbq(
228231
use_cache=use_cache,
229232
col_order=col_order,
230233
dry_run=dry_run,
234+
allow_large_results=allow_large_results,
231235
)
232236

233237

@@ -391,6 +395,7 @@ def read_gbq_query( # type: ignore[overload-overlap]
391395
col_order: Iterable[str] = ...,
392396
filters: vendored_pandas_gbq.FiltersType = ...,
393397
dry_run: Literal[False] = ...,
398+
allow_large_results: bool = ...,
394399
) -> bigframes.dataframe.DataFrame:
395400
...
396401

@@ -407,6 +412,7 @@ def read_gbq_query(
407412
col_order: Iterable[str] = ...,
408413
filters: vendored_pandas_gbq.FiltersType = ...,
409414
dry_run: Literal[True] = ...,
415+
allow_large_results: bool = ...,
410416
) -> pandas.Series:
411417
...
412418

@@ -422,6 +428,7 @@ def read_gbq_query(
422428
col_order: Iterable[str] = (),
423429
filters: vendored_pandas_gbq.FiltersType = (),
424430
dry_run: bool = False,
431+
allow_large_results: bool = True,
425432
) -> bigframes.dataframe.DataFrame | pandas.Series:
426433
_set_default_session_location_if_possible(query)
427434
return global_session.with_default_session(
@@ -435,6 +442,7 @@ def read_gbq_query(
435442
col_order=col_order,
436443
filters=filters,
437444
dry_run=dry_run,
445+
allow_large_results=allow_large_results,
438446
)
439447

440448

0 commit comments

Comments
 (0)