Lines Matching refs:kwargs
86 args=(), kwargs=None, middleware_wraps=None): argument
92 if kwargs is None:
93 kwargs = {}
94 self.kwargs = kwargs
130 resp = self.call_func(req, *args, **self.kwargs)
192 def call_func(self, req, *args, **kwargs): argument
195 return self.func(req, *args, **kwargs)
201 kwargs = {}
203 kwargs['func'] = func
205 kwargs['RequestClass'] = self.RequestClass
207 kwargs['args'] = self.args
208 if self.kwargs:
209 kwargs['kwargs'] = self.kwargs
210 kwargs.update(kw)
211 return self.__class__(**kwargs)
260 return cls(middle_func, middleware_wraps=app, kwargs=kw)