We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 398dbfa commit 5ccd4eaCopy full SHA for 5ccd4ea
1 file changed
sdk/python/feast/utils.py
@@ -672,7 +672,7 @@ def _augment_response_with_on_demand_transforms(
672
for odfv_name, _feature_refs in odfv_feature_refs.items():
673
odfv = requested_odfv_map[odfv_name]
674
if not odfv.write_to_online_store:
675
- # Apply aggregations BEFORE transformation if defined
+ # Apply aggregations if configured.
676
if odfv.aggregations:
677
if odfv.mode == "python":
678
if initial_response_dict is None:
@@ -694,7 +694,7 @@ def _augment_response_with_on_demand_transforms(
694
)
695
696
# Apply transformation
697
- if odfv.mode == "python":
+ elif odfv.mode == "python":
698
699
initial_response_dict = initial_response.to_dict()
700
transformed_features_dict: Dict[str, List[Any]] = odfv.transform_dict(
0 commit comments