Skip to content

Commit

Permalink
getting rid of dummy entity constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Manisha4 committed Feb 20, 2025
1 parent a5b0171 commit 28e6e26
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions sdk/python/feast/sorted_feature_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@

warnings.simplefilter("ignore", DeprecationWarning)

# DUMMY_ENTITY is a placeholder entity used in entityless FeatureViews
DUMMY_ENTITY_ID = "__dummy_id"
DUMMY_ENTITY_NAME = "__dummy"
DUMMY_ENTITY = Entity(
name=DUMMY_ENTITY_NAME,
join_keys=[DUMMY_ENTITY_ID],
)
DUMMY_SORT_KEY_NAME = "__dummy_sort_key"


@typechecked
class SortedFeatureView(FeatureView):
Expand Down Expand Up @@ -218,4 +209,4 @@ def from_proto(cls, sfv_proto):
)
)

return sorted_feature_view
return sorted_feature_view

0 comments on commit 28e6e26

Please sign in to comment.