Skip to content

Commit

Permalink
rm old comment
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Jun 10, 2022
1 parent 680c5d6 commit c3d3b99
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sdk/python/feast/infra/registry_stores/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ def get_user_metadata(
def proto(self) -> RegistryProto:
r = RegistryProto()
project = ""
# TODO(achal): Support last_updated_timestamp.
for lister, registry_proto_field in [
(self.list_entities, r.entities),
(self.list_feature_views, r.feature_views),
Expand All @@ -601,9 +600,9 @@ def proto(self) -> RegistryProto:
registry_proto_field.extend([obj.to_proto() for obj in objs])

r.infra.CopyFrom(self.get_infra(project).to_proto())
last_update_timestamp = self._get_last_updated_metadata()
if last_update_timestamp:
r.last_updated.FromDatetime(last_update_timestamp)
last_updated_timestamp = self._get_last_updated_metadata()
if last_updated_timestamp:
r.last_updated.FromDatetime(last_updated_timestamp)

return r

Expand Down

0 comments on commit c3d3b99

Please sign in to comment.