(self, cid: base.cid_t, *cids: base.cid_t, **kwargs: base.CommonArgs)
return self._client.request('/dht/findprovs', args, decoder='json', **kwargs)
Finds peers in the DHT that can provide a specific value
		
		.. code-block:: python
		
			>>> client.dht.findprovs("QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQu … mpW2")
			[{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmaK6Aj5WXkfnWGoWq7V8pGUYzcHPZp4jKQ5JtmRvSzQGk',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmdUdLu8dNvr4MVW1iWXxKoQrbG6y1vAVWPdkeGK4xppds',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 4, 'Responses': [
				{'ID': 'QmVgNoP89mzpgEAAqK8owYoDEyB97Mk … E9Uc', 'Addrs': None}
			  ]},
			 {'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 1, 'Responses': [
				{'ID': 'QmSHXfsmN3ZduwFDjeqBn1C8b1tcLkxK6yd … waXw', 'Addrs': [
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.8/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/52.32.109.74/tcp/1028'
				  ]}
			  ]}]
		
		Parameters
		----------
		cid
			The DHT key to find providers for
		
		Returns
		-------
			dict
				List of provider Peer IDs
Finds peers in the DHT that can provide a specific value
		
		.. code-block:: python
		
			>>> client.dht.findprovs("QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQu … mpW2")
			[{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmaK6Aj5WXkfnWGoWq7V8pGUYzcHPZp4jKQ5JtmRvSzQGk',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmdUdLu8dNvr4MVW1iWXxKoQrbG6y1vAVWPdkeGK4xppds',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 4, 'Responses': [
				{'ID': 'QmVgNoP89mzpgEAAqK8owYoDEyB97Mk … E9Uc', 'Addrs': None}
			  ]},
			 {'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 1, 'Responses': [
				{'ID': 'QmSHXfsmN3ZduwFDjeqBn1C8b1tcLkxK6yd … waXw', 'Addrs': [
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.8/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/52.32.109.74/tcp/1028'
				  ]}
			  ]}]
		
		Parameters
		----------
		cid
			The DHT key to find providers for
		
		Returns
		-------
			dict
				List of provider Peer IDs
Finds peers in the DHT that can provide a specific value .. code - block :: python >>> client . dht . findprovs ( QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQu … mpW2 ) [ { ID : QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ Extra : Type : 6 Responses : None } { ID : QmaK6Aj5WXkfnWGoWq7V8pGUYzcHPZp4jKQ5JtmRvSzQGk Extra : Type : 6 Responses : None } { ID : QmdUdLu8dNvr4MVW1iWXxKoQrbG6y1vAVWPdkeGK4xppds Extra : Type : 6 Responses : None } … { ID : Extra : Type : 4 Responses : [ { ID : QmVgNoP89mzpgEAAqK8owYoDEyB97Mk … E9Uc Addrs : None } ] } { ID : QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ Extra : Type : 1 Responses : [ { ID : QmSHXfsmN3ZduwFDjeqBn1C8b1tcLkxK6yd … waXw Addrs : [ / ip4 / 127 . 0 . 0 . 1 / tcp / 4001 / ip4 / 172 . 17 . 0 . 8 / tcp / 4001 / ip6 / :: 1 / tcp / 4001 / ip4 / 52 . 32 . 109 . 74 / tcp / 1028 ] } ] } ] Parameters ---------- cid The DHT key to find providers for Returns ------- dict List of provider Peer IDs
def findprovs(self, cid: base.cid_t, *cids: base.cid_t, **kwargs: base.CommonArgs):
		"""Finds peers in the DHT that can provide a specific value
		
		.. code-block:: python
		
			>>> client.dht.findprovs("QmNPXDC6wTXVmZ9Uoc8X1oqxRRJr4f1sDuyQu … mpW2")
			[{'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmaK6Aj5WXkfnWGoWq7V8pGUYzcHPZp4jKQ5JtmRvSzQGk',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 {'ID': 'QmdUdLu8dNvr4MVW1iWXxKoQrbG6y1vAVWPdkeGK4xppds',
			  'Extra': '', 'Type': 6, 'Responses': None},
			 …
			 {'ID': '', 'Extra': '', 'Type': 4, 'Responses': [
				{'ID': 'QmVgNoP89mzpgEAAqK8owYoDEyB97Mk … E9Uc', 'Addrs': None}
			  ]},
			 {'ID': 'QmaxqKpiYNr62uSFBhxJAMmEMkT6dvc3oHkrZNpH2VMTLZ',
			  'Extra': '', 'Type': 1, 'Responses': [
				{'ID': 'QmSHXfsmN3ZduwFDjeqBn1C8b1tcLkxK6yd … waXw', 'Addrs': [
					'/ip4/127.0.0.1/tcp/4001',
					'/ip4/172.17.0.8/tcp/4001',
					'/ip6/::1/tcp/4001',
					'/ip4/52.32.109.74/tcp/1028'
				  ]}
			  ]}]
		
		Parameters
		----------
		cid
			The DHT key to find providers for
		
		Returns
		-------
			dict
				List of provider Peer IDs
		"""
		args = (str(cid),) + tuple(str(c) for c in cids)
		return self._client.request('/dht/findprovs', args, decoder='json', **kwargs)
def findprovs ( self , cid : base . cid_t , * cids : base . cid_t , * * kwargs : base . CommonArgs ) : args = ( str ( cid ) , ) + tuple ( str ( c ) for c in cids ) return self . _client . request ( '/dht/findprovs' , args , decoder = 'json' , * * kwargs )