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

Method all_plugins

module/lib/bottle.py:488–497  ·  view source on GitHub ↗

Yield all Plugins affecting this route.

(self)

Source from the content-addressed store, hash-verified

486 apply=self.plugins, skip=self.skiplist)
487
488 def all_plugins(self):
489 ''' Yield all Plugins affecting this route. '''
490 unique = set()
491 for p in reversed(self.app.plugins + self.plugins):
492 if True in self.skiplist: break
493 name = getattr(p, 'name', False)
494 if name and (name in self.skiplist or name in unique): continue
495 if p in self.skiplist or type(p) in self.skiplist: continue
496 if name: unique.add(name)
497 yield p
498
499 def _make_callback(self):
500 callback = self.callback

Callers 1

_make_callbackMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected