(self, cid: base.cid_t, **kwargs: base.CommonArgs)
return self._client.request('/ls', args, decoder='json', **kwargs)
Returns a list of objects linked to by the given hash
		
		.. code-block:: python
		
			>>> client.ls('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D')
			{'Objects': [
				{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
					'Links': [
						{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
						 'Name': 'Makefile',          'Size': 174, 'Type': 2},
						…
						{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
						 'Name': 'published-version', 'Size': 55,  'Type': 2}
					]
				}
			]}
		
		Parameters
		----------
		cid
			The path to the IPFS object(s) to list links from
		
		Returns
		-------
			dict
				Directory information and contents
Returns a list of objects linked to by the given hash
		
		.. code-block:: python
		
			>>> client.ls('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D')
			{'Objects': [
				{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
					'Links': [
						{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
						 'Name': 'Makefile',          'Size': 174, 'Type': 2},
						…
						{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
						 'Name': 'published-version', 'Size': 55,  'Type': 2}
					]
				}
			]}
		
		Parameters
		----------
		cid
			The path to the IPFS object(s) to list links from
		
		Returns
		-------
			dict
				Directory information and contents
Returns a list of objects linked to by the given hash .. code - block :: python >>> client . ls ( QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D ) { Objects : [ { Hash : QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D Links : [ { Hash : Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV Name : Makefile Size : 174 Type : 2 } … { Hash : QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY Name : published - version Size : 55 Type : 2 } ] } ] } Parameters ---------- cid The path to the IPFS object ( s ) to list links from Returns ------- dict Directory information and contents
def ls(self, cid: base.cid_t, **kwargs: base.CommonArgs):
		"""Returns a list of objects linked to by the given hash
		
		.. code-block:: python
		
			>>> client.ls('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D')
			{'Objects': [
				{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
					'Links': [
						{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
						 'Name': 'Makefile',          'Size': 174, 'Type': 2},
						…
						{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
						 'Name': 'published-version', 'Size': 55,  'Type': 2}
					]
				}
			]}
		
		Parameters
		----------
		cid
			The path to the IPFS object(s) to list links from
		
		Returns
		-------
			dict
				Directory information and contents
		"""
		args = (str(cid),)
		return self._client.request('/ls', args, decoder='json', **kwargs)
def ls ( self , cid : base . cid_t , * * kwargs : base . CommonArgs ) : args = ( str ( cid ) , ) return self . _client . request ( '/ls' , args , decoder = 'json' , * * kwargs )