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: Kevin Zhang <kzhang@tecton.ai>
  • Loading branch information
kevjumba committed Apr 26, 2022
commit 7d3975ff379730a91b4e95ea7b42565878dec95a
4 changes: 2 additions & 2 deletions sdk/python/feast/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def to_proto(self) -> FeatureSpecProto:
value_type = ValueTypeProto.Enum.Value(self.dtype.name)

return FeatureSpecProto(
name=self.name, value_type=value_type, labels=self.labels,
name=self.name, value_type=value_type, tags=self.labels,
)

@classmethod
Expand All @@ -106,7 +106,7 @@ def from_proto(cls, feature_proto: FeatureSpecProto):
feature = cls(
name=feature_proto.name,
dtype=ValueType(feature_proto.value_type),
labels=dict(feature_proto.labels),
labels=dict(feature_proto.tags),
)

return feature