Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
function name change to _assert_table_exists
Signed-off-by: Cody Lin <codyl@twitter.com>
  • Loading branch information
Cody Lin committed Jun 19, 2021
commit af937c4b4c15bc5a5c64cd67727f520d4dd4640e
4 changes: 2 additions & 2 deletions sdk/python/feast/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def __init__(
query: Optional[str] = None,
):
self._bigquery_options = BigQueryOptions(table_ref=table_ref, query=query)
self._table_exists()
self._assert_table_exists()

super().__init__(
event_timestamp_column,
Expand Down Expand Up @@ -724,7 +724,7 @@ def get_table_column_names_and_types(self) -> Iterable[Tuple[str, str]]:

return name_type_pairs

def _table_exists(self):
def _assert_table_exists(self):
from google.api_core.exceptions import NotFound
from google.cloud import bigquery

Expand Down