(self, a: base.cid_t, b: base.cid_t, **kwargs: base.CommonArgs)
return self._client.request('/object/diff', args, decoder='json', **kwargs)
Diff two cids.
		
		.. code-block:: python
		
			>>> client.object.diff(
					'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n',
			        'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'
				)
			{'Changes': [{
				'Type': 2,
				'Path': '',
				'Before':
					{'/': 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'},
				'After':
					{'/': 'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'}}]}
		
		Parameters
		----------
		a
			Key of object a for comparison
		b
			Key of object b for comparison
		
		Returns
		-------
			dict
Diff two cids.
		
		.. code-block:: python
		
			>>> client.object.diff(
					'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n',
			        'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'
				)
			{'Changes': [{
				'Type': 2,
				'Path': '',
				'Before':
					{'/': 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'},
				'After':
					{'/': 'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'}}]}
		
		Parameters
		----------
		a
			Key of object a for comparison
		b
			Key of object b for comparison
		
		Returns
		-------
			dict
Diff two cids . .. code - block :: python >>> client . object . diff ( QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G ) { Changes : [ { Type : 2 Path : Before : { / : QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n } After : { / : QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G }} ] } Parameters ---------- a Key of object a for comparison b Key of object b for comparison Returns ------- dict
def diff(self, a: base.cid_t, b: base.cid_t, **kwargs: base.CommonArgs):
		"""Diff two cids.
		
		.. code-block:: python
		
			>>> client.object.diff(
					'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n',
			        'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'
				)
			{'Changes': [{
				'Type': 2,
				'Path': '',
				'Before':
					{'/': 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'},
				'After':
					{'/': 'QmV4QR7MCBj5VTi6ddHmXPyjWGzbaKEtX2mx7axA5PA13G'}}]}
		
		Parameters
		----------
		a
			Key of object a for comparison
		b
			Key of object b for comparison
		
		Returns
		-------
			dict
		"""
		args = (str(a), str(b))
		return self._client.request('/object/diff', args, decoder='json', **kwargs)
def diff ( self , a : base . cid_t , b : base . cid_t , * * kwargs : base . CommonArgs ) : args = ( str ( a ) , str ( b ) ) return self . _client . request ( '/object/diff' , args , decoder = 'json' , * * kwargs )