Skip to content

Commit c932d2d

Browse files
authored
chore: remove redundant assertions (#2427)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> 🦕
1 parent 7eba6ee commit c932d2d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bigframes/bigquery/_operations/table.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
from typing import Mapping, Optional, Union
1818

19-
import bigframes_vendored.constants
2019
import google.cloud.bigquery
2120
import pandas as pd
2221

@@ -94,9 +93,6 @@ def create_external_table(
9493
if session is None:
9594
bpd.read_gbq_query(sql)
9695
session = bpd.get_global_session()
97-
assert (
98-
session is not None
99-
), f"Missing connection to BigQuery. Please report how you encountered this error at {bigframes_vendored.constants.FEEDBACK_LINK}."
10096
else:
10197
session.read_gbq_query(sql)
10298

0 commit comments

Comments
 (0)