Title: feat: Extend enable/disable/set-state to all feature view types and REST/gRPC APIs by Rakeshpatil01 · Pull Request #6580 · feast-dev/feast · GitHub
Open Graph Title: feat: Extend enable/disable/set-state to all feature view types and REST/gRPC APIs by Rakeshpatil01 · Pull Request #6580 · feast-dev/feast
X Title: feat: Extend enable/disable/set-state to all feature view types and REST/gRPC APIs by Rakeshpatil01 · Pull Request #6580 · feast-dev/feast
Description: 1. What this PR does / why we need it: This PR resolves issue #6429 by extending the enable_feature_view, disable_feature_view, and set_feature_view_state operations to support all feature view types, specifically adding support for StreamFeatureView. It also exposes these actions through new REST and gRPC API endpoints for external clients. 2. Changes: gRPC Server: Added EnableFeatureView, DisableFeatureView, and SetFeatureViewState handlers in RegistryServer to enable operations from gRPC clients. REST API Router: Added FastAPI routes (/feature_views/{name}/enable, /disable, /state) delegating requests to the gRPC client. Core FeatureStore: Enhanced client validation in feature_store.py to support StreamFeatureView type validation and raise clean ValueError exceptions for unsupported resource types (like Entities). CLI Groups: Added enable, disable, and set-state subcommands to on-demand-feature-views and stream-feature-views Click command groups. Protos: Compiled updated proto interfaces in RegistryServer.proto. Which issue(s) this PR fixes: Fixes #6429 Checks I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows [conventional commits](https://www. conventionalcommits.org/) format Testing Strategy Unit tests Integration tests Testing details: Executed the unit tests and REST API integration tests: uv run python -m pytest sdk/python/tests/unit/test_feature_view_state.py sdk/python/tests/unit/api/test_api_rest_registry.py Results: All 101 passed successfully in 33.48 seconds.
Open Graph Description: 1. What this PR does / why we need it: This PR resolves issue #6429 by extending the enable_feature_view, disable_feature_view, and set_feature_view_state operations to support all feature view ty...
X Description: 1. What this PR does / why we need it: This PR resolves issue #6429 by extending the enable_feature_view, disable_feature_view, and set_feature_view_state operations to support all feature view ty...
Opengraph URL: https://github.com/feast-dev/feast/pull/6580
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:996baee9-e736-f27a-c58b-f5541a01c432 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C31A:29BECE:526370:6C402E:6A517312 |
| html-safe-nonce | 95dd19c7f1c1aebfda0812f3c89ec01d834b53201a7ba68287129eb3cfb3759b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzFBOjI5QkVDRTo1MjYzNzA6NkM0MDJFOjZBNTE3MzEyIiwidmlzaXRvcl9pZCI6IjUwMjE3MTY0ODA1NTY4ODg4NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fa90d509daaa5cc590fd7a0f64317b6fa6f39db384385e6c98f1a6f7accf480d |
| hovercard-subject-tag | pull_request:3978777483 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6580/files |
| twitter:image | https://avatars.githubusercontent.com/u/78411442?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/78411442?s=400&v=4 |
| og:image:alt | 1. What this PR does / why we need it: This PR resolves issue #6429 by extending the enable_feature_view, disable_feature_view, and set_feature_view_state operations to support all feature view ty... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width