MCPcopy Create free account
hub / github.com/pyinvoke/invoke / __setitem__

Method __setitem__

invoke/config.py:163–165  ·  view source on GitHub ↗
(self, key: str, value: str)

Source from the content-addressed store, hash-verified

161 return len(self._config)
162
163 def __setitem__(self, key: str, value: str) -> None:
164 self._config[key] = value
165 self._track_modification_of(key, value)
166
167 def __getitem__(self, key: str) -> Any:
168 return self._get(key)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected