Yield all Plugins affecting this route.
(self)
| 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 |