MCPcopy
hub / github.com/cherrypy/cherrypy / run

Method run

cherrypy/_cprequest.py:93–95  ·  view source on GitHub ↗

Execute all registered Hooks (callbacks) for the given point.

(self, point)

Source from the content-addressed store, hash-verified

91 self[point].append(Hook(callback, failsafe, priority, **kwargs))
92
93 def run(self, point):
94 """Execute all registered Hooks (callbacks) for the given point."""
95 self.run_hooks(iter(sorted(self[point])))
96
97 @classmethod
98 def run_hooks(cls, hooks):

Callers 6

handlerFunction · 0.45
respondMethod · 0.45
closeMethod · 0.45
respondMethod · 0.45
_do_respondMethod · 0.45
handle_errorMethod · 0.45

Calls 1

run_hooksMethod · 0.95

Tested by

no test coverage detected