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

Method __getitem__

invoke/config.py:167–168  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

165 self._track_modification_of(key, value)
166
167 def __getitem__(self, key: str) -> Any:
168 return self._get(key)
169
170 def _get(self, key: str) -> Any:
171 # Short-circuit if pickling/copying mechanisms are asking if we've got

Callers

nothing calls this directly

Calls 1

_getMethod · 0.95

Tested by

no test coverage detected