Skip to content

Commit f34a56b

Browse files
authored
#34640: CLN: remove 'private_key' and 'verbose' from gbq (#34654)
1 parent 67ea739 commit f34a56b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

doc/source/whatsnew/v1.2.0.rst

+2
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ I/O
325325
- :meth:`to_picke` and :meth:`read_pickle` did not support compression for file-objects (:issue:`26237`, :issue:`29054`, and :issue:`29570`)
326326
- Bug in :func:`LongTableBuilder.middle_separator` was duplicating LaTeX longtable entires in the List of Tables of a LaTeX document (:issue:`34360`)
327327
- Bug in :meth:`read_csv` with `engine='python'` truncating data if multiple items present in first row and first element started with BOM (:issue:`36343`)
328+
- Removed ``private_key`` and ``verbose`` from :func:`read_gbq` as they are no longer supported in `pandas-gbq` (:issue:`34654` :issue:`30200`)
328329

329330
Plotting
330331
^^^^^^^^
@@ -372,6 +373,7 @@ ExtensionArray
372373

373374
Other
374375
^^^^^
376+
375377
- Bug in :meth:`DataFrame.replace` and :meth:`Series.replace` incorrectly raising ``AssertionError`` instead of ``ValueError`` when invalid parameter combinations are passed (:issue:`36045`)
376378
- Bug in :meth:`DataFrame.replace` and :meth:`Series.replace` with numeric values and string ``to_replace`` (:issue:`34789`)
377379
- Fixed metadata propagation in the :class:`Series.dt` accessor (:issue:`28283`)

pandas/io/gbq.py

-6
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ def read_gbq(
3131
credentials=None,
3232
use_bqstorage_api: Optional[bool] = None,
3333
max_results: Optional[int] = None,
34-
private_key=None,
35-
verbose=None,
3634
progress_bar_type: Optional[str] = None,
3735
) -> "DataFrame":
3836
"""
@@ -208,8 +206,6 @@ def to_gbq(
208206
location: Optional[str] = None,
209207
progress_bar: bool = True,
210208
credentials=None,
211-
verbose=None,
212-
private_key=None,
213209
) -> None:
214210
pandas_gbq = _try_import()
215211
pandas_gbq.to_gbq(
@@ -224,6 +220,4 @@ def to_gbq(
224220
location=location,
225221
progress_bar=progress_bar,
226222
credentials=credentials,
227-
verbose=verbose,
228-
private_key=private_key,
229223
)

0 commit comments

Comments
 (0)