(self, hook_key, func)
| 15 | self._hooks = defaultdict(list) |
| 16 | |
| 17 | def register(self, hook_key, func): |
| 18 | self._hooks[hook_key].append(func) |
| 19 | |
| 20 | def dispatch(self, hook_key, *args, **kwargs): |
| 21 | for func in self._hooks[hook_key]: |
no outgoing calls
no test coverage detected