MCPcopy Index your code
hub / github.com/pyload/pyload / default

Method default

module/web/api_app.py:20–23  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

18class TBaseEncoder(json.JSONEncoder):
19
20 def default(self, o):
21 if isinstance(o, BaseObject):
22 return toDict(o)
23 return json.JSONEncoder.default(self, o)
24
25
26# accepting positional arguments, as well as kwargs via post and get

Callers

nothing calls this directly

Calls 1

toDictFunction · 0.90

Tested by

no test coverage detected