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

Function _ensure_client

sdk/python/feast/mlflow.py:87–92  ·  view source on GitHub ↗

Return the cached client, creating it on first call.

()

Source from the content-addressed store, hash-verified

85
86
87def _ensure_client() -> Any:
88 """Return the cached client, creating it on first call."""
89 global _client
90 if _client is None:
91 _client = _build_client()
92 return _client
93
94
95def init(store: "FeatureStore") -> None:

Callers 2

get_active_run_idFunction · 0.85
__getattr__Function · 0.85

Calls 1

_build_clientFunction · 0.85

Tested by

no test coverage detected