MCPcopy Create free account
hub / github.com/VectifyAI/PageIndex / _load_yaml

Method _load_yaml

pageindex/utils.py:661–663  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

659
660 @staticmethod
661 def _load_yaml(path):
662 with open(path, "r", encoding="utf-8") as f:
663 return yaml.safe_load(f) or {}
664
665 def _validate_keys(self, user_dict):
666 unknown_keys = set(user_dict) - set(self._default_dict)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected