(
registry,
project,
allow_cache: bool = False,
hide_dummy_entity: bool = True,
tags: Optional[dict[str, str]] = None,
)
| 1176 | |
| 1177 | |
| 1178 | def _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 | |
| 1196 | def _get_feature_views_to_use( |
nothing calls this directly
no test coverage detected