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

Method is_request

src/debugpy/common/messaging.py:487–491  ·  view source on GitHub ↗

Returns True if this message is a Request of one of the specified types.

(self, *command)

Source from the content-addressed store, hash-verified

485 return event == () or self.event in event
486
487 def is_request(self, *command):
488 """Returns True if this message is a Request of one of the specified types."""
489 if not isinstance(self, Request):
490 return False
491 return command == () or self.command in command
492
493 def is_response(self, *command):
494 """Returns True if this message is a Response to a request of one of the

Callers 5

propagateMethod · 0.80
delegateMethod · 0.80
initializeMethod · 0.80
handleMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected