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

Method default

src/debugpy/common/json.py:24–31  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

22 """
23
24 def default(self, value):
25 try:
26 get_state = value.__getstate__
27 except AttributeError:
28 pass
29 else:
30 return get_state()
31 return super().default(value)
32
33
34class JsonObject(object):

Callers 5

launch_requestFunction · 0.45
__call__Method · 0.45
handleMethod · 0.45
launch_requestMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected