(self, cid: base.cid_t, **kwargs: base.CommonArgs)
return self._client.request('/object/links', args, decoder='json', **kwargs)
Returns the links pointed to by the specified object
		
		.. code-block:: python
		
			>>> client.object.links('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDx … ca7D')
			{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
			 'Links': [
				{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
				 'Name': 'Makefile',          'Size': 174},
				{'Hash': 'QmeKozNssnkJ4NcyRidYgDY2jfRZqVEoRGfipkgath71bX',
				 'Name': 'example',           'Size': 1474},
				{'Hash': 'QmZAL3oHMQYqsV61tGvoAVtQLs1WzRe1zkkamv9qxqnDuK',
				 'Name': 'home',              'Size': 3947},
				{'Hash': 'QmZNPyKVriMsZwJSNXeQtVQSNU4v4KEKGUQaMT61LPahso',
				 'Name': 'lib',               'Size': 268261},
				{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
				 'Name': 'published-version', 'Size': 55}]}
		
		Parameters
		----------
		cid
			Key of the object to retrieve, in CID format
		
		Returns
		-------
			dict
		
		+-------+------------------------------------------------+
		| Hash  | The requested object CID                       |
		+-------+------------------------------------------------+
		| Links | List of links associated with the given object |
		+-------+------------------------------------------------+
Returns the links pointed to by the specified object
		
		.. code-block:: python
		
			>>> client.object.links('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDx … ca7D')
			{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
			 'Links': [
				{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
				 'Name': 'Makefile',          'Size': 174},
				{'Hash': 'QmeKozNssnkJ4NcyRidYgDY2jfRZqVEoRGfipkgath71bX',
				 'Name': 'example',           'Size': 1474},
				{'Hash': 'QmZAL3oHMQYqsV61tGvoAVtQLs1WzRe1zkkamv9qxqnDuK',
				 'Name': 'home',              'Size': 3947},
				{'Hash': 'QmZNPyKVriMsZwJSNXeQtVQSNU4v4KEKGUQaMT61LPahso',
				 'Name': 'lib',               'Size': 268261},
				{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
				 'Name': 'published-version', 'Size': 55}]}
		
		Parameters
		----------
		cid
			Key of the object to retrieve, in CID format
		
		Returns
		-------
			dict
		
		+-------+------------------------------------------------+
		| Hash  | The requested object CID                       |
		+-------+------------------------------------------------+
		| Links | List of links associated with the given object |
		+-------+------------------------------------------------+
Returns the links pointed to by the specified object .. code - block :: python >>> client . object . links ( QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDx … ca7D ) { Hash : QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D Links : [ { Hash : Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV Name : Makefile Size : 174 } { Hash : QmeKozNssnkJ4NcyRidYgDY2jfRZqVEoRGfipkgath71bX Name : example Size : 1474 } { Hash : QmZAL3oHMQYqsV61tGvoAVtQLs1WzRe1zkkamv9qxqnDuK Name : home Size : 3947 } { Hash : QmZNPyKVriMsZwJSNXeQtVQSNU4v4KEKGUQaMT61LPahso Name : lib Size : 268261 } { Hash : QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY Name : published - version Size : 55 } ] } Parameters ---------- cid Key of the object to retrieve in CID format Returns ------- dict + ------- + ------------------------------------------------ + | Hash | The requested object CID | + ------- + ------------------------------------------------ + | Links | List of links associated with the given object | + ------- + ------------------------------------------------ +
def links(self, cid: base.cid_t, **kwargs: base.CommonArgs):
		"""Returns the links pointed to by the specified object
		
		.. code-block:: python
		
			>>> client.object.links('QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDx … ca7D')
			{'Hash': 'QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsNTn2aDxdXBFca7D',
			 'Links': [
				{'Hash': 'Qmd2xkBfEwEs9oMTk77A6jrsgurpF3ugXSg7dtPNFkcNMV',
				 'Name': 'Makefile',          'Size': 174},
				{'Hash': 'QmeKozNssnkJ4NcyRidYgDY2jfRZqVEoRGfipkgath71bX',
				 'Name': 'example',           'Size': 1474},
				{'Hash': 'QmZAL3oHMQYqsV61tGvoAVtQLs1WzRe1zkkamv9qxqnDuK',
				 'Name': 'home',              'Size': 3947},
				{'Hash': 'QmZNPyKVriMsZwJSNXeQtVQSNU4v4KEKGUQaMT61LPahso',
				 'Name': 'lib',               'Size': 268261},
				{'Hash': 'QmSY8RfVntt3VdxWppv9w5hWgNrE31uctgTiYwKir8eXJY',
				 'Name': 'published-version', 'Size': 55}]}
		
		Parameters
		----------
		cid
			Key of the object to retrieve, in CID format
		
		Returns
		-------
			dict
		
		+-------+------------------------------------------------+
		| Hash  | The requested object CID                       |
		+-------+------------------------------------------------+
		| Links | List of links associated with the given object |
		+-------+------------------------------------------------+
		"""
		args = (str(cid),)
		return self._client.request('/object/links', args, decoder='json', **kwargs)
def links ( self , cid : base . cid_t , * * kwargs : base . CommonArgs ) : args = ( str ( cid ) , ) return self . _client . request ( '/object/links' , args , decoder = 'json' , * * kwargs )