MCPcopy Create free account
hub / github.com/twisted/twisted / load

Method load

src/twisted/python/modules.py:285–292  ·  view source on GitHub ↗

Load the value associated with this attribute. @return: an arbitrary Python object, or 'default' if there is an error loading it.

(self, default=_nothing)

Source from the content-addressed store, hash-verified

283 return self._loaded
284
285 def load(self, default=_nothing):
286 """
287 Load the value associated with this attribute.
288
289 @return: an arbitrary Python object, or 'default' if there is an error
290 loading it.
291 """
292 return self.pythonValue
293
294 def iterAttributes(self):
295 for name, val in inspect.getmembers(self.load()):

Callers 1

iterAttributesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected