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
make format
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Jun 28, 2021
commit 286b6194874c84ff5413856ede3294d49be9b05b
10 changes: 8 additions & 2 deletions sdk/python/feast/feature_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@
from google.protobuf.timestamp_pb2 import Timestamp

from feast import utils
from feast.data_source import (
BigQuerySource,
DataSource,
FileSource,
KafkaSource,
KinesisSource,
)
from feast.errors import RegistryInferenceFailure
from feast.data_source import BigQuerySource, DataSource, FileSource, KafkaSource, KinesisSource
from feast.feature import Feature
from feast.protos.feast.core.FeatureView_pb2 import FeatureView as FeatureViewProto
from feast.protos.feast.core.FeatureView_pb2 import (
Expand Down Expand Up @@ -69,8 +75,8 @@ def __init__(
tags: Optional[Dict[str, str]] = None,
online: bool = True,
):
assert input or batch_source
_input = input or batch_source
assert _input is not None

cols = [entity for entity in entities] + [feat.name for feat in features]
for col in cols:
Expand Down