MCPcopy Index your code
hub / github.com/feast-dev/feast / get_needed_request_data

Function get_needed_request_data

sdk/python/feast/utils.py:1091–1099  ·  view source on GitHub ↗
(
    grouped_odfv_refs: List[Tuple["OnDemandFeatureView", List[str]]],
)

Source from the content-addressed store, hash-verified

1089
1090
1091def get_needed_request_data(
1092 grouped_odfv_refs: List[Tuple["OnDemandFeatureView", List[str]]],
1093) -> Set[str]:
1094 needed_request_data: Set[str] = set()
1095 for odfv, _ in grouped_odfv_refs:
1096 odfv_request_data_schema = odfv.get_request_data_schema()
1097 # if odfv.write_to_online_store, we should not pass in the request data
1098 needed_request_data.update(odfv_request_data_schema.keys())
1099 return needed_request_data
1100
1101
1102def ensure_request_data_values_exist(

Callers 1

Calls 3

keysMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected