Skip to content

Commit a139c65

Browse files
committed
format: format code
1 parent c20751b commit a139c65

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/bigframes/bigframes/formatting_helpers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ def progress_callback(
153153
return
154154

155155
# Prioritize progress_bar set on the event, falling back to thread-local option.
156-
progress_bar = getattr(
157-
event, "progress_bar", bigframes.core.events._DEFAULT
158-
)
156+
progress_bar = getattr(event, "progress_bar", bigframes.core.events._DEFAULT)
159157
if progress_bar == bigframes.core.events._DEFAULT:
160158
progress_bar = bigframes._config.options.display.progress_bar
161159

packages/bigframes/bigframes/pandas/io/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@ def from_glob_path(
654654
def _get_bqclient_and_project() -> Tuple[bigquery.Client, str]:
655655
# Address circular imports in doctest due to bigframes/session/__init__.py
656656
# containing a lot of logic and samples.
657-
from bigframes.session import clients
658657
import bigframes._config.auth
658+
from bigframes.session import clients
659659

660660
credentials, project = bigframes._config.auth.resolve_credentials_and_project(
661661
config.options.bigquery

0 commit comments

Comments
 (0)