Skip to content

Commit 2e2826c

Browse files
committed
fix types error
1 parent 8945003 commit 2e2826c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/positron-python/python_files/posit/positron/tests/test_connections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
HAS_DATABRICKS = False
4545

4646
try:
47-
from google.cloud import bigquery
47+
import google.cloud.bigquery
4848

4949
HAS_GOOGLE_BIGQUERY = True
5050
except ImportError:
@@ -114,7 +114,7 @@ def get_bigquery_connection(project: str = "bigquery-public-data"):
114114
if not HAS_GOOGLE_BIGQUERY:
115115
pytest.skip("Google BigQuery not available")
116116

117-
return bigquery.Client(project=project)
117+
return google.cloud.bigquery.Client(project=project)
118118

119119

120120
def get_sqlite_connections():

0 commit comments

Comments
 (0)