Lines Matching refs:conf
19 # configuration to itself? Probably the conf should become
26 def push_thread_config(self, conf):
28 Make ``conf`` the active configuration for this thread.
34 conf = make_conf()
35 dispatching_config.push_thread_config(conf)
39 dispatching_config.pop_thread_config(conf)
41 self._push_object(conf)
43 def pop_thread_config(self, conf=None):
45 Remove a thread-local configuration. If ``conf`` is given,
49 self._pop_object(conf)
51 def push_process_config(self, conf):
56 self._process_configs.append(conf)
58 def pop_process_config(self, conf=None):
59 self._pop_from(self._process_configs, conf)
61 def _pop_from(self, lst, conf):
63 if conf is not None and popped is not conf:
67 % (popped, conf))
116 conf = global_conf.copy()
117 conf.update(local_conf)
118 return ConfigMiddleware(app, conf)