Lines Matching refs:conf
11 conf = None
17 conf = args[0]
19 if isinstance(conf, (dict, list)):
20 conf = json.dumps(conf)
25 arguments = (self, url) if conf is None else (self, conf, url)
34 def conf(self, conf, url): argument
35 return self.put(**self._get_args(url, conf))['body']
46 def conf_post(self, conf, url): argument
47 return self.post(**self._get_args(url, conf))['body']
49 def _get_args(self, url, conf=None): argument
56 if conf is not None:
57 args['body'] = conf