Skip to content

Commit 0635221

Browse files
committed
make format
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent bc2cb77 commit 0635221

6 files changed

Lines changed: 4 additions & 8 deletions

File tree

‎sdk/python/feast/infra/offline_stores/bigquery.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def supports_data_source(self, data_source: DataSource) -> bool:
5353

5454

5555
class BigQueryOfflineStore(OfflineStore):
56-
5756
@staticmethod
5857
def pull_latest_from_table_or_query(
5958
data_source: DataSource,

‎sdk/python/feast/infra/offline_stores/offline_store.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,3 @@ def get_historical_features(
6868
project: str,
6969
) -> RetrievalJob:
7070
pass
71-

‎sdk/python/feast/infra/online_stores/datastore.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from feast.infra.online_stores.online_store import OnlineStore
2727
from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto
2828
from feast.protos.feast.types.Value_pb2 import Value as ValueProto
29-
from feast.repo_config import RepoConfig, FeastOnlineStoreConfigBaseModel
29+
from feast.repo_config import FeastOnlineStoreConfigBaseModel, RepoConfig
3030

3131
try:
3232
from google.auth.exceptions import DefaultCredentialsError
@@ -65,7 +65,6 @@ def supports_offline_store(self, offline_store: Any) -> bool:
6565
return offline_store.type == "bigquery"
6666

6767

68-
6968
class DatastoreOnlineStore(OnlineStore):
7069
"""
7170
OnlineStore is an object used for all interaction between Feast and the service used for offline storage of

‎sdk/python/feast/infra/online_stores/redis.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from feast.infra.online_stores.online_store import OnlineStore
2626
from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto
2727
from feast.protos.feast.types.Value_pb2 import Value as ValueProto
28-
from feast.repo_config import FeastOnlineStoreConfigBaseModel, FeastOfflineStoreConfigBaseModel
28+
from feast.repo_config import FeastOnlineStoreConfigBaseModel
2929

3030
try:
3131
from redis import Redis

‎sdk/python/feast/infra/online_stores/sqlite.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from feast.infra.online_stores.online_store import OnlineStore
2929
from feast.protos.feast.types.EntityKey_pb2 import EntityKey as EntityKeyProto
3030
from feast.protos.feast.types.Value_pb2 import Value as ValueProto
31-
from feast.repo_config import RepoConfig, FeastOnlineStoreConfigBaseModel
31+
from feast.repo_config import FeastOnlineStoreConfigBaseModel, RepoConfig
3232

3333

3434
class SqliteOnlineStoreConfig(FeastOnlineStoreConfigBaseModel):
@@ -46,7 +46,6 @@ def supports_offline_store(self, offline_store: Any) -> bool:
4646
return offline_store.type == "file"
4747

4848

49-
5049
class SqliteOnlineStore(OnlineStore):
5150
"""
5251
OnlineStore is an object used for all interaction between Feast and the service used for offline storage of

‎sdk/python/feast/repo_config.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
from typing import Any
44

55
import yaml
6-
from feast.data_source import DataSource
76
from pydantic import BaseModel, StrictInt, StrictStr, ValidationError, root_validator
87
from pydantic.error_wrappers import ErrorWrapper
98
from pydantic.typing import Dict, Optional, Union
109

10+
from feast.data_source import DataSource
1111
from feast.importer import get_class_from_type
1212
from feast.usage import log_exceptions
1313

0 commit comments

Comments
 (0)