(self, address: base.multiaddr_t, *addresses: base.multiaddr_t,
	        **kwargs: base.CommonArgs)
return self._client.request('/swarm/filters/add', args, decoder='json', **kwargs)
Adds a given multiaddr filter to the filter/ignore list
		
		This will add an address filter to the daemons swarm. Filters applied
		this way will not persist daemon reboots, to achieve that, add your
		filters to the configuration file.
		
		.. code-block:: python
		
			>>> client.swarm.filters.add("/ip4/192.168.0.0/ipcidr/16")
			{'Strings': ['/ip4/192.168.0.0/ipcidr/16']}
		
		Parameters
		----------
		address
			Multiaddr to avoid connecting to
		
		Returns
		-------
			dict
		
		+---------+-----------------------------+
		| Strings | List of swarm filters added |
		+---------+-----------------------------+
Adds a given multiaddr filter to the filter/ignore list
		
		This will add an address filter to the daemons swarm. Filters applied
		this way will not persist daemon reboots, to achieve that, add your
		filters to the configuration file.
		
		.. code-block:: python
		
			>>> client.swarm.filters.add("/ip4/192.168.0.0/ipcidr/16")
			{'Strings': ['/ip4/192.168.0.0/ipcidr/16']}
		
		Parameters
		----------
		address
			Multiaddr to avoid connecting to
		
		Returns
		-------
			dict
		
		+---------+-----------------------------+
		| Strings | List of swarm filters added |
		+---------+-----------------------------+
Adds a given multiaddr filter to the filter / ignore list This will add an address filter to the daemons swarm . Filters applied this way will not persist daemon reboots to achieve that add your filters to the configuration file . .. code - block :: python >>> client . swarm . filters . add ( / ip4 / 192 . 168 . 0 . 0 / ipcidr / 16 ) { Strings : [ / ip4 / 192 . 168 . 0 . 0 / ipcidr / 16 ] } Parameters ---------- address Multiaddr to avoid connecting to Returns ------- dict + --------- + ----------------------------- + | Strings | List of swarm filters added | + --------- + ----------------------------- +
def add(self, address: base.multiaddr_t, *addresses: base.multiaddr_t,
	        **kwargs: base.CommonArgs):
		"""Adds a given multiaddr filter to the filter/ignore list
		
		This will add an address filter to the daemons swarm. Filters applied
		this way will not persist daemon reboots, to achieve that, add your
		filters to the configuration file.
		
		.. code-block:: python
		
			>>> client.swarm.filters.add("/ip4/192.168.0.0/ipcidr/16")
			{'Strings': ['/ip4/192.168.0.0/ipcidr/16']}
		
		Parameters
		----------
		address
			Multiaddr to avoid connecting to
		
		Returns
		-------
			dict
		
		+---------+-----------------------------+
		| Strings | List of swarm filters added |
		+---------+-----------------------------+
		"""
		args = (str(address), *(str(a) for a in address))
		return self._client.request('/swarm/filters/add', args, decoder='json', **kwargs)
def add ( self , address : base . multiaddr_t , * addresses : base . multiaddr_t , * * kwargs : base . CommonArgs ) : args = ( str ( address ) , * ( str ( a ) for a in address ) ) return self . _client . request ( '/swarm/filters/add' , args , decoder = 'json' , * * kwargs )