Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding Python classes for new Feature View type SortedFeatureView #175

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Manisha4
Copy link
Collaborator

What this PR does / why we need it:

Adding Python classes for new Feature View type SortedFeatureView

@Manisha4 Manisha4 marked this pull request as draft February 14, 2025 18:38
@Manisha4 Manisha4 changed the title Adding Python classes for new Feature View type SortedFeatureView feat: Adding Python classes for new Feature View type SortedFeatureView Feb 14, 2025
tags=tags,
owner=owner,
)
self.sort_keys = sort_keys or []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature view does some validation in the init for entites like making sure the value types match with it's cooresponding feature. We should probably do similar with sort key here. Also ensure we don't have sort key-entity key overlap.

join_keys=[DUMMY_ENTITY_ID],
)

ONLINE_STORE_TAG_SUFFIX = "online_store_"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed, same with the one in SortedFeatureView. It's already a constant defined in feature_view.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants