def add(self, ios_channels=None, android_channels=None,
            amazon_channels=None):
        
        self.data = {}
        if ios_channels is not None:
            self.data['ios_channels'] = {'add': ios_channels}
        if android_channels is not None:
            self.data['android_channels'] = {'add': android_channels}
        if amazon_channels is not None:
            self.data['amazon_channels'] = {'add': amazon_channels}

        body = json.dumps(self.data)
        response = self._airship._request('POST', body, self.url,
                                          'application/json', version=3)
        return response
Store the supplied args and kwargs as attributes.
dataset/ETHPy150Open urbanairship/python-library/urbanairship/devices/tag.py/Tag.add--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/names/test/test_rootresolve.py/ResolverFactoryArguments.__init__