Yield all Plugins affecting this route.
(self)
| 514 | apply=self.plugins, skip=self.skiplist) |
| 515 | |
| 516 | def all_plugins(self): |
| 517 | ''' Yield all Plugins affecting this route. ''' |
| 518 | unique = set() |
| 519 | for p in reversed(self.app.plugins + self.plugins): |
| 520 | if True in self.skiplist: break |
| 521 | name = getattr(p, 'name', False) |
| 522 | if name and (name in self.skiplist or name in unique): continue |
| 523 | if p in self.skiplist or type(p) in self.skiplist: continue |
| 524 | if name: unique.add(name) |
| 525 | yield p |
| 526 | |
| 527 | def _make_callback(self): |
| 528 | callback = self.callback |