Skip to content

Commit

Permalink
chore: remove unneeded logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zabarn committed Sep 3, 2024
1 parent fd7b0ec commit e7ee21f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,18 +1216,16 @@ def expedia_search_feature_views(
add_to_results = False

if created_at:
created_at_timestamp = created_at
if (
feature_view_proto.meta.created_timestamp.ToDatetime()
< created_at_timestamp
< created_at
):
add_to_results = False

if updated_at is not None:
updated_at_timestamp = updated_at
if (
feature_view_proto.meta.last_updated_timestamp.ToDatetime()
< updated_at_timestamp
< updated_at
):
add_to_results = False

Expand Down

0 comments on commit e7ee21f

Please sign in to comment.