We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e25ca4f commit fb988edCopy full SHA for fb988ed
sdk/python/feast/entity.py
@@ -173,13 +173,12 @@ def from_proto(cls, entity_proto: EntityProto):
173
entity = cls(
174
name=entity_proto.spec.name,
175
join_keys=[entity_proto.spec.join_key],
176
+ value_type=ValueType(entity_proto.spec.value_type),
177
description=entity_proto.spec.description,
178
tags=dict(entity_proto.spec.tags),
179
owner=entity_proto.spec.owner,
180
)
181
- entity.value_type = ValueType(entity_proto.spec.value_type)
182
-
183
if entity_proto.meta.HasField("created_timestamp"):
184
entity.created_timestamp = entity_proto.meta.created_timestamp.ToDatetime()
185
if entity_proto.meta.HasField("last_updated_timestamp"):
0 commit comments