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

Function _list_feature_views

sdk/python/feast/utils.py:1178–1193  ·  view source on GitHub ↗
(
    registry,
    project,
    allow_cache: bool = False,
    hide_dummy_entity: bool = True,
    tags: Optional[dict[str, str]] = None,
)

Source from the content-addressed store, hash-verified

1176
1177
1178def _list_feature_views(
1179 registry,
1180 project,
1181 allow_cache: bool = False,
1182 hide_dummy_entity: bool = True,
1183 tags: Optional[dict[str, str]] = None,
1184) -> List["FeatureView"]:
1185 from feast.feature_view import DUMMY_ENTITY_NAME
1186
1187 feature_views = []
1188 for fv in registry.list_feature_views(project, allow_cache=allow_cache, tags=tags):
1189 if hide_dummy_entity and fv.entities and fv.entities[0] == DUMMY_ENTITY_NAME:
1190 fv.entities = []
1191 fv.entity_columns = []
1192 feature_views.append(fv)
1193 return feature_views
1194
1195
1196def _get_feature_views_to_use(

Callers

nothing calls this directly

Calls 1

list_feature_viewsMethod · 0.45

Tested by

no test coverage detected