-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: Rename OnDemandTransformations to Transformations #4038
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
Changes from 1 commit
7383550
6bcff8d
ea58ace
1713313
4a00c12
97a8bb6
5190d6c
23ae349
1d598d2
81c6f82
7687e23
6507808
f44c227
dd2a5ca
9ac6793
5a1db09
e6bf1e9
0daf027
9417006
eff1497
ae19919
e34b604
9cd0ebe
7b9f180
19544f4
41524c9
7de39ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -663,6 +663,13 @@ def to_dict(self, project: str) -> Dict[str, List[Any]]: | |
| key=lambda on_demand_feature_view: on_demand_feature_view.name, | ||
| ): | ||
| odfv_dict = self._message_to_sorted_dict(on_demand_feature_view.to_proto()) | ||
| # We are logging a warning because the registry object may be read from a proto that is not updated | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For services that are python backed, they will likely use it. We do at Affirm. |
||
| # i.e., we have to submit dual writes but in order to ensure the read behavior succeeds we have to load | ||
| # both objects to compare any changes in the registry | ||
| warnings.warn( | ||
| "We will be deprecating the usage of spec.userDefinedFunction in a future release please upgrade cautiously.", | ||
| DeprecationWarning, | ||
| ) | ||
| odfv_dict["spec"]["featureTransformation"]["userDefinedFunction"][ | ||
| "body" | ||
| ] = on_demand_feature_view.feature_transformation.udf_string | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.