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

Method _parse

src/debugpy/common/messaging.py:571–576  ·  view source on GitHub ↗
(channel, message_dict)

Source from the content-addressed store, hash-verified

569
570 @staticmethod
571 def _parse(channel, message_dict):
572 seq = message_dict("seq", int)
573 event = message_dict("event", str)
574 body = message_dict("body", _payload)
575 message = Event(channel, seq, event, body, json=message_dict)
576 channel._enqueue_handlers(message, message._handle)
577
578 def _handle(self):
579 channel = self.channel

Callers 1

Calls 2

_enqueue_handlersMethod · 0.80
EventClass · 0.70

Tested by

no test coverage detected