MCPcopy Create free account
hub / github.com/datapane/datapane / all_plugins

Method all_plugins

python-client/src/datapane/_vendor/bottle.py:535–544  ·  view source on GitHub ↗

Yield all Plugins affecting this route.

(self)

Source from the content-addressed store, hash-verified

533 self.call
534
535 def all_plugins(self):
536 """ Yield all Plugins affecting this route. """
537 unique = set()
538 for p in reversed(self.app.plugins + self.plugins):
539 if True in self.skiplist: break
540 name = getattr(p, 'name', False)
541 if name and (name in self.skiplist or name in unique): continue
542 if p in self.skiplist or type(p) in self.skiplist: continue
543 if name: unique.add(name)
544 yield p
545
546 def _make_callback(self):
547 callback = self.callback

Callers 1

_make_callbackMethod · 0.95

Calls 1

addMethod · 0.80

Tested by

no test coverage detected