MCPcopy
hub / github.com/feast-dev/feast / _validate_all_feature_views

Method _validate_all_feature_views

sdk/python/feast/feature_store.py:901–922  ·  view source on GitHub ↗

Validates all feature views.

(
        self,
        views_to_update: List[FeatureView],
        odfvs_to_update: List[OnDemandFeatureView],
        sfvs_to_update: List[StreamFeatureView],
        lvs_to_update: Optional[List[LabelView]] = None,
    )

Source from the content-addressed store, hash-verified

899 )
900
901 def _validate_all_feature_views(
902 self,
903 views_to_update: List[FeatureView],
904 odfvs_to_update: List[OnDemandFeatureView],
905 sfvs_to_update: List[StreamFeatureView],
906 lvs_to_update: Optional[List[LabelView]] = None,
907 ):
908 """Validates all feature views."""
909 if len(odfvs_to_update) > 0 and not flags_helper.is_test():
910 warnings.warn(
911 "On demand feature view is an experimental feature. "
912 "This API is stable, but the functionality does not scale well for offline retrieval",
913 RuntimeWarning,
914 )
915 _validate_feature_views(
916 [
917 *views_to_update,
918 *odfvs_to_update,
919 *sfvs_to_update,
920 *(lvs_to_update or []),
921 ]
922 )
923
924 def _make_inferences(
925 self,

Callers 2

planMethod · 0.95
applyMethod · 0.95

Calls 1

_validate_feature_viewsFunction · 0.85

Tested by

no test coverage detected