MCPcopy Create free account
hub / github.com/feast-dev/feast / registry

Method registry

sdk/python/feast/feature_store.py:373–386  ·  view source on GitHub ↗

Gets the registry of this feature store.

(self)

Source from the content-addressed store, hash-verified

371
372 @property
373 def registry(self) -> BaseRegistry:
374 """Gets the registry of this feature store."""
375 if self._registry is None:
376 self._registry = self._create_registry()
377 # Add feature service cache to registry for performance optimization
378 if self._registry and not hasattr(self._registry, "_feature_service_cache"):
379 setattr(
380 self._registry,
381 "_feature_service_cache",
382 self._feature_service_cache,
383 )
384 if self._registry is None:
385 raise RuntimeError("Registry failed to initialize properly")
386 return self._registry
387
388 def _create_registry(self) -> BaseRegistry:
389 """Create and initialize the registry."""

Callers

nothing calls this directly

Calls 1

_create_registryMethod · 0.95

Tested by

no test coverage detected