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

Function toDict

module/web/utils.py:137–141  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

135
136
137def toDict(obj):
138 ret = {}
139 for att in obj.__slots__:
140 ret[att] = getattr(obj, att)
141 return ret
142
143
144class CherryPyWSGI(ServerAdapter):

Callers 6

defaultMethod · 0.90
homeFunction · 0.90
adminFunction · 0.90
statusFunction · 0.90
linksFunction · 0.90
packageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected