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

Function registry

sdk/python/tests/integration/registration/test_versioning.py:25–31  ·  view source on GitHub ↗

Create a file-based Registry for testing. Version history is always-on.

()

Source from the content-addressed store, hash-verified

23
24@pytest.fixture
25def registry():
26 """Create a file-based Registry for testing. Version history is always-on."""
27 with tempfile.TemporaryDirectory() as tmpdir:
28 registry_path = Path(tmpdir) / "registry.pb"
29 config = RegistryConfig(path=str(registry_path))
30 reg = Registry("test_project", config, None)
31 yield reg
32
33
34@pytest.fixture

Callers

nothing calls this directly

Calls 2

RegistryConfigClass · 0.90
RegistryClass · 0.90

Tested by

no test coverage detected