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

Function registry_dump

sdk/python/feast/repo_operations.py:545–556  ·  view source on GitHub ↗

For debugging only: output contents of the metadata registry

(repo_config: RepoConfig, repo_path: Path)

Source from the content-addressed store, hash-verified

543
544
545def registry_dump(repo_config: RepoConfig, repo_path: Path) -> str:
546 """For debugging only: output contents of the metadata registry"""
547 registry_config = repo_config.registry
548 project = repo_config.project
549 registry = Registry(
550 project,
551 registry_config=registry_config,
552 repo_path=repo_path,
553 auth_config=repo_config.auth_config,
554 )
555 registry_dict = registry.to_dict(project=project)
556 return json.dumps(registry_dict, indent=2, sort_keys=True)
557
558
559def cli_check_repo(repo_path: Path, fs_yaml_file: Path):

Callers 1

registry_dump_commandFunction · 0.90

Calls 2

RegistryClass · 0.90
to_dictMethod · 0.45

Tested by

no test coverage detected