MCPcopy Index your code
hub / github.com/pyinvoke/invoke / _path_get

Method _path_get

invoke/env.py:91–97  ·  view source on GitHub ↗
(self, key_path: Iterable[str])

Source from the content-addressed store, hash-verified

89 return "_".join(key_path).upper()
90
91 def _path_get(self, key_path: Iterable[str]) -> "Config":
92 # Gets are from self._config because that's what determines valid env
93 # vars and/or values for typecasting.
94 obj = self._config
95 for key in key_path:
96 obj = obj[key]
97 return obj
98
99 def _path_set(self, key_path: Sequence[str], value: str) -> None:
100 # Sets are to self.data since that's what we are presenting to the

Callers 2

_crawlMethod · 0.95
_path_setMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected