MCPcopy Create free account
hub / github.com/microsoft/debugpy / require

Method require

src/debugpy/adapter/components.py:178–183  ·  view source on GitHub ↗
(self, *keys)

Source from the content-addressed store, hash-verified

176 return f"{type(self).__name__}: {json.repr(dict(self))}"
177
178 def require(self, *keys):
179 for key in keys:
180 if not self[key]:
181 raise messaging.MessageHandlingError(
182 f"{self.component} does not have capability {json.repr(key)}",
183 )

Callers 2

gui-gtk.pyFile · 0.80
spawn_debuggeeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected