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

Function _apply_md

sdk/python/feast/demos.py:178–188  ·  view source on GitHub ↗

Return the markdown cell that introduces the apply / registry-sync section.

(info: dict[str, Any])

Source from the content-addressed store, hash-verified

176
177
178def _apply_md(info: dict[str, Any]) -> dict[str, Any]:
179 """Return the markdown cell that introduces the apply / registry-sync section."""
180 if info["registry_type"] == "remote":
181 return _md(
182 "## 4. Registry Sync\n\nRefresh the registry cache to load the latest feature definitions."
183 )
184 return _md(
185 "## 4. Apply Feature Definitions\n\n"
186 "Register entities, feature views, and services into the registry. "
187 "Skip if already applied."
188 )
189
190
191def _apply_code(info: dict[str, Any]) -> dict[str, Any]:

Callers 1

_nb_overviewFunction · 0.85

Calls 1

_mdFunction · 0.85

Tested by

no test coverage detected