Skip to content

Commit c3d3b99

Browse files
committed
rm old comment
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 680c5d6 commit c3d3b99

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • sdk/python/feast/infra/registry_stores

sdk/python/feast/infra/registry_stores/sql.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ def get_user_metadata(
584584
def proto(self) -> RegistryProto:
585585
r = RegistryProto()
586586
project = ""
587-
# TODO(achal): Support last_updated_timestamp.
588587
for lister, registry_proto_field in [
589588
(self.list_entities, r.entities),
590589
(self.list_feature_views, r.feature_views),
@@ -601,9 +600,9 @@ def proto(self) -> RegistryProto:
601600
registry_proto_field.extend([obj.to_proto() for obj in objs])
602601

603602
r.infra.CopyFrom(self.get_infra(project).to_proto())
604-
last_update_timestamp = self._get_last_updated_metadata()
605-
if last_update_timestamp:
606-
r.last_updated.FromDatetime(last_update_timestamp)
603+
last_updated_timestamp = self._get_last_updated_metadata()
604+
if last_updated_timestamp:
605+
r.last_updated.FromDatetime(last_updated_timestamp)
607606

608607
return r
609608

0 commit comments

Comments
 (0)