Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 93c150f

Browse files
committed
fix: add type hint for progress_bar_type in read_gbq function
1 parent fdc987a commit 93c150f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pandas_gbq/gbq.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import logging
88
import re
99
import warnings
10+
from typing import Optional
1011

1112
from pandas_gbq.contexts import Context # noqa - backward compatible export
1213
from pandas_gbq.contexts import context
@@ -108,7 +109,7 @@ def read_gbq(
108109
max_results=None,
109110
verbose=None,
110111
private_key=None,
111-
progress_bar_type="tqdm",
112+
progress_bar_type: Optional[str] = "tqdm",
112113
dtypes=None,
113114
auth_redirect_uri=None,
114115
client_id=None,

0 commit comments

Comments
 (0)