parameters: (self)
docstring: Hook caching into cherrypy.request.
docstring_summary: Hook caching into cherrypy.request.
docstring_tokens: Hook caching into cherrypy . request .
function: def _setup(self):
          """Hook caching into cherrypy.request."""
          conf = self._merged_args()
  
          p = conf.pop('priority', None)
          cherrypy.serving.request.hooks.attach('before_handler', self._wrapper,
                                                priority=p, **conf)
function_tokens: def _setup ( self ) : conf = self . _merged_args ( ) p = conf . pop ( 'priority' , None ) cherrypy . serving . request . hooks . attach ( 'before_handler' , self . _wrapper , priority = p , * * conf )