Searched refs:opt_key (Results 1 – 1 of 1) sorted by relevance
241 def AddItemIfSet(d, kw_key, opt_key=None): argument242 opt_key = opt_key or kw_key243 if opt_key in self._nondefaults:244 d[kw_key] = getattr(self, opt_key)249 AddItemIfSet(kwargs, 'down_bandwidth', opt_key='down')250 AddItemIfSet(kwargs, 'up_bandwidth', opt_key='up')