Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Pienaar <git@willem.co>
  • Loading branch information
woop committed May 15, 2021
1 parent 7cf3545 commit 1169b30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/python/feast/infra/offline_stores/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ def get_offline_store_from_sources(sources: List[DataSource]) -> OfflineStore:
# Retrieve features from ParquetOfflineStore
if all(source == FileSource for source in source_types):
from feast.infra.offline_stores.file import FileOfflineStore

return FileOfflineStore()

# Retrieve features from BigQueryOfflineStore
if all(source == BigQuerySource for source in source_types):
from feast.infra.offline_stores.bigquery import BigQueryOfflineStore

return BigQueryOfflineStore()

# Could not map inputs to an OfflineStore implementation
Expand Down

0 comments on commit 1169b30

Please sign in to comment.