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: Set value_type of entity directly in from_proto #5092

Conversation

nanohanno
Copy link
Contributor

What this PR does / why we need it:

In the last release a deprecation warning was added to Entity if the value_type is None. Currently, the from_proto method creates an Entity object first without value_type and sets it afterwards. Therefore, for each creation a Warning log is issued.

This change moves the value_type into the creator of Entity in the from_proto method.

Which issue(s) this PR fixes:

Misc

@nanohanno nanohanno requested a review from a team as a code owner February 25, 2025 16:11
Copy link
Member

@franciscojavierarceo franciscojavierarceo left a comment

Choose a reason for hiding this comment

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

nice lgtm

@franciscojavierarceo franciscojavierarceo merged commit 90e7498 into feast-dev:master Feb 25, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants