예제 #1
0
 def _run_extension_hooks(self, hook_type, *args, **kwargs):
     """Run hooks for all registered extensions."""
     for extension in self.extensions:
         extension.run_hooks(hook_type, *args, **kwargs)
예제 #2
0
 def _run_extension_hooks(self, hook_type, *args, **kwargs):
     """Runs hooks for all registered extensions."""
     for extension in self.extensions:
         extension.run_hooks(hook_type, *args, **kwargs)