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
Fix lint
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Nov 18, 2021
commit b199e778cf2292b61dc06db15cd0fd99b2349342
10 changes: 8 additions & 2 deletions sdk/python/feast/infra/offline_stores/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ def get_historical_features(
assert isinstance(config.offline_store, BigQueryOfflineStoreConfig)

table_reference = _get_table_reference_for_new_entity(
client, client.project, config.offline_store.dataset, config.offline_store.location
client,
client.project,
config.offline_store.dataset,
config.offline_store.location,
)

@contextlib.contextmanager
Expand Down Expand Up @@ -332,7 +335,10 @@ def _wait_until_done(bq_job):


def _get_table_reference_for_new_entity(
client: Client, dataset_project: str, dataset_name: str, dataset_location: Optional[str]
client: Client,
dataset_project: str,
dataset_name: str,
dataset_location: Optional[str],
) -> str:
"""Gets the table_id for the new entity to be uploaded."""

Expand Down