MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / __getitem__

Method __getitem__

client/node/app.py:77–79  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

75 self._data = json.load(f)
76
77 def __getitem__(self, key):
78 self._load_data()
79 return self._data[key]
80
81 def __setitem__(self, key, value):
82 self._data[key] = value

Callers

nothing calls this directly

Calls 1

_load_dataMethod · 0.95

Tested by

no test coverage detected