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

Method refresh

sdk/python/feast/infra/registry/registry.py:1377–1379  ·  view source on GitHub ↗

Refreshes the state of the registry cache by fetching the registry state from the remote registry store.

(self, project: Optional[str] = None)

Source from the content-addressed store, hash-verified

1375 pass
1376
1377 def refresh(self, project: Optional[str] = None):
1378 """Refreshes the state of the registry cache by fetching the registry state from the remote registry store."""
1379 self._get_registry_proto(project=project, allow_cache=False)
1380
1381 def is_cache_valid(self) -> bool:
1382 if self.cached_registry_proto_created is None:

Callers 9

refresh_registryMethod · 0.45
planMethod · 0.45
RefreshMethod · 0.45
delete_feature_viewMethod · 0.45
_apply_objectMethod · 0.45
_delete_objectMethod · 0.45
test_registry_cacheFunction · 0.45

Calls 1

_get_registry_protoMethod · 0.95

Tested by 3

test_registry_cacheFunction · 0.36