(self, name: str = None, recursive: bool = False,
	            nocache: bool = False, dht_record_count: ty.Optional[int] = None,
	            dht_timeout: ty.Optional[ty.Union[str, int]] = None,
	            **kwargs: base.CommonArgs)
return self._client.request('/name/resolve', args, decoder='json', **kwargs)
Retrieves the value currently published at the given IPNS name
		
		IPNS is a PKI namespace, where names are the hashes of public keys, and
		the private key enables publishing new (signed) values. In resolve, the
		default value of ``name`` is your own identity public key.
		
		.. code-block:: python
		
			>>> client.name.resolve()
			{'Path': '/ipfs/QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d'}
		
		Parameters
		----------
		name
			The IPNS name to resolve (defaults to the connected node)
		recursive
			Resolve until the result is not an IPFS name (default: false)
		nocache
			Do not use cached entries (default: false)
		dht_record_count
			Number of records to request for DHT resolution.
		dht_timeout
			Maximum time to collect values during DHT resolution, e.g. "30s".
			
			For the exact syntax see the ``lifetime`` argument on
			:meth:`~ipfshttpclient.Client.name.publish`. Set this parameter to
			``0`` to disable the timeout.
		
		Returns
		-------
			dict
		
		+------+--------------------------------------+
		| Path | The resolved value of the given name |
		+------+--------------------------------------+
Retrieves the value currently published at the given IPNS name
		
		IPNS is a PKI namespace, where names are the hashes of public keys, and
		the private key enables publishing new (signed) values. In resolve, the
		default value of ``name`` is your own identity public key.
		
		.. code-block:: python
		
			>>> client.name.resolve()
			{'Path': '/ipfs/QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d'}
		
		Parameters
		----------
		name
			The IPNS name to resolve (defaults to the connected node)
		recursive
			Resolve until the result is not an IPFS name (default: false)
		nocache
			Do not use cached entries (default: false)
		dht_record_count
			Number of records to request for DHT resolution.
		dht_timeout
			Maximum time to collect values during DHT resolution, e.g. "30s".
			
			For the exact syntax see the ``lifetime`` argument on
			:meth:`~ipfshttpclient.Client.name.publish`. Set this parameter to
			``0`` to disable the timeout.
		
		Returns
		-------
			dict
		
		+------+--------------------------------------+
		| Path | The resolved value of the given name |
		+------+--------------------------------------+
Retrieves the value currently published at the given IPNS name IPNS is a PKI namespace where names are the hashes of public keys and the private key enables publishing new ( signed ) values . In resolve the default value of name is your own identity public key . .. code - block :: python >>> client . name . resolve () { Path : / ipfs / QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d } Parameters ---------- name The IPNS name to resolve ( defaults to the connected node ) recursive Resolve until the result is not an IPFS name ( default : false ) nocache Do not use cached entries ( default : false ) dht_record_count Number of records to request for DHT resolution . dht_timeout Maximum time to collect values during DHT resolution e . g . 30s . For the exact syntax see the lifetime argument on : meth : ~ipfshttpclient . Client . name . publish . Set this parameter to 0 to disable the timeout . Returns ------- dict + ------ + -------------------------------------- + | Path | The resolved value of the given name | + ------ + -------------------------------------- +
def resolve(self, name: str = None, recursive: bool = False,
	            nocache: bool = False, dht_record_count: ty.Optional[int] = None,
	            dht_timeout: ty.Optional[ty.Union[str, int]] = None,
	            **kwargs: base.CommonArgs):
		"""Retrieves the value currently published at the given IPNS name
		
		IPNS is a PKI namespace, where names are the hashes of public keys, and
		the private key enables publishing new (signed) values. In resolve, the
		default value of ``name`` is your own identity public key.
		
		.. code-block:: python
		
			>>> client.name.resolve()
			{'Path': '/ipfs/QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d'}
		
		Parameters
		----------
		name
			The IPNS name to resolve (defaults to the connected node)
		recursive
			Resolve until the result is not an IPFS name (default: false)
		nocache
			Do not use cached entries (default: false)
		dht_record_count
			Number of records to request for DHT resolution.
		dht_timeout
			Maximum time to collect values during DHT resolution, e.g. "30s".
			
			For the exact syntax see the ``lifetime`` argument on
			:meth:`~ipfshttpclient.Client.name.publish`. Set this parameter to
			``0`` to disable the timeout.
		
		Returns
		-------
			dict
		
		+------+--------------------------------------+
		| Path | The resolved value of the given name |
		+------+--------------------------------------+
		"""
		opts = {"recursive": recursive, "nocache": nocache}
		if dht_record_count is not None:
			opts["dht-record-count"] = str(dht_record_count)
		if dht_timeout is not None:
			opts["dht-timeout"] = str(dht_timeout)
		
		kwargs.setdefault("opts", {}).update(opts)
		args = (name,) if name is not None else ()
		return self._client.request('/name/resolve', args, decoder='json', **kwargs)
def resolve ( self , name : str = None , recursive : bool = False , nocache : bool = False , dht_record_count : ty . Optional [ int ] = None , dht_timeout : ty . Optional [ ty . Union [ str , int ] ] = None , * * kwargs : base . CommonArgs ) : opts = { "recursive" : recursive , "nocache" : nocache } if dht_record_count is not None : opts [ "dht-record-count" ] = str ( dht_record_count ) if dht_timeout is not None : opts [ "dht-timeout" ] = str ( dht_timeout ) kwargs . setdefault ( "opts" , { } ) . update ( opts ) args = ( name , ) if name is not None else ( ) return self . _client . request ( '/name/resolve' , args , decoder = 'json' , * * kwargs )