parameters: (self)
docstring: Hook this tool into cherrypy.request.
  
          The standard CherryPy request object will automatically call this
          method when the tool is "turned on" in config.
docstring_summary: Hook this tool into cherrypy.request.
docstring_tokens: Hook this tool into cherrypy . request .
function: def _setup(self):
          """Hook this tool into cherrypy.request.
  
          The standard CherryPy request object will automatically call this
          method when the tool is "turned on" in config.
          """
          conf = self._merged_args()
          p = conf.pop('priority', None)
          if p is None:
              p = getattr(self.callable, 'priority', self._priority)
          cherrypy.serving.request.hooks.attach(self._point, self.callable,
                                                priority=p, **conf)
function_tokens: def _setup ( self ) : conf = self . _merged_args ( ) p = conf . pop ( 'priority' , None ) if p is None : p = getattr ( self . callable , 'priority' , self . _priority ) cherrypy . serving . request . hooks . attach ( self . _point , self . callable , priority = p , * * conf )