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

Method _parse

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

Source from the content-addressed store, hash-verified

688
689 @staticmethod
690 def _parse(channel, message_dict):
691 seq = message_dict("seq", int)
692 command = message_dict("command", str)
693 arguments = message_dict("arguments", _payload)
694 message = Request(channel, seq, command, arguments, json=message_dict)
695 channel._enqueue_handlers(message, message._handle)
696
697 def _handle(self):
698 channel = self.channel

Callers

nothing calls this directly

Calls 2

_enqueue_handlersMethod · 0.80
RequestClass · 0.70

Tested by

no test coverage detected