MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / __init__

Method __init__

Utility/Config.py:20–22  ·  view source on GitHub ↗
(self, stream)

Source from the content-addressed store, hash-verified

18
19class IncludeLoader(yaml.SafeLoader):
20 def __init__(self, stream):
21 self._root = os.path.split(stream.name)[0] #type: ignore[reportAttributeAccessIssue]
22 super(IncludeLoader, self).__init__(stream)
23
24 def flatten_sequence(self, node):
25 arr = self.construct_sequence(node)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected