-
Notifications
You must be signed in to change notification settings - Fork 961
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: Pydantic Model Compatibility #3667
Feat: Pydantic Model Compatibility #3667
Conversation
…rtial work for FeatureService pydantic model, and add unit tests for pydantic models.
…, fix FeatureView to not desroy some of its arguments
… on DataSource and Entity, so use those converters in the FeatureView converter. Also, fix a small SparkSource error which imports FeatureView into the SparkSource DataSource definition, breaking the hierarchy of FeatureService to FeatureView to DataSource and Entity, causing circular dependencies
…antic model, and do some linting
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: expediamatt The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Wrong branch, my apologies |
[All tests and lint checks are passing.]
What this PR does / why we need it:
This PR introduces Pydantic model conversions for Entity, DataSource, and FeatureView, so that they may be transmitted over the wire using FastAPI. This allows a Feast project to be broken up into a local SDK and a remote registry service.
Only RequestSource and SparkSource are supported for now. We plan to add support for FeatureService models in the near future.