(self, path: base.cid_t, *paths: base.cid_t, recursive: bool = True,
	        **kwargs: base.CommonArgs)
return self._client.request('/pin/add', args, decoder='json', **kwargs)
Pins objects to the node's local repository
		
		Stores an IPFS object(s) from a given path in the local repository.
		
		.. code-block:: python
		
			>>> client.pin.add("QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d")
			{'Pins': ['QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d']}
		
		Parameters
		----------
		path
			Path to object(s) to be pinned
		recursive
			Recursively unpin the object linked to by the specified object(s)
		
		Returns
		-------
			dict
		
		+------+-----------------------------------------------------------+
		| Pins | List of IPFS objects that have been pinned by this action |
		+------+-----------------------------------------------------------+
Pins objects to the node's local repository
		
		Stores an IPFS object(s) from a given path in the local repository.
		
		.. code-block:: python
		
			>>> client.pin.add("QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d")
			{'Pins': ['QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d']}
		
		Parameters
		----------
		path
			Path to object(s) to be pinned
		recursive
			Recursively unpin the object linked to by the specified object(s)
		
		Returns
		-------
			dict
		
		+------+-----------------------------------------------------------+
		| Pins | List of IPFS objects that have been pinned by this action |
		+------+-----------------------------------------------------------+
Pins objects to the node s local repository Stores an IPFS object ( s ) from a given path in the local repository . .. code - block :: python >>> client . pin . add ( QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d ) { Pins : [ QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d ] } Parameters ---------- path Path to object ( s ) to be pinned recursive Recursively unpin the object linked to by the specified object ( s ) Returns ------- dict + ------ + ----------------------------------------------------------- + | Pins | List of IPFS objects that have been pinned by this action | + ------ + ----------------------------------------------------------- +
def add(self, path: base.cid_t, *paths: base.cid_t, recursive: bool = True,
	        **kwargs: base.CommonArgs):
		"""Pins objects to the node's local repository
		
		Stores an IPFS object(s) from a given path in the local repository.
		
		.. code-block:: python
		
			>>> client.pin.add("QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d")
			{'Pins': ['QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d']}
		
		Parameters
		----------
		path
			Path to object(s) to be pinned
		recursive
			Recursively unpin the object linked to by the specified object(s)
		
		Returns
		-------
			dict
		
		+------+-----------------------------------------------------------+
		| Pins | List of IPFS objects that have been pinned by this action |
		+------+-----------------------------------------------------------+
		"""
		kwargs.setdefault("opts", {})["recursive"] = recursive
		
		args = (str(path), *(str(p) for p in paths))
		return self._client.request('/pin/add', args, decoder='json', **kwargs)
def add ( self , path : base . cid_t , * paths : base . cid_t , recursive : bool = True , * * kwargs : base . CommonArgs ) : kwargs . setdefault ( "opts" , { } ) [ "recursive" ] = recursive args = ( str ( path ) , * ( str ( p ) for p in paths ) ) return self . _client . request ( '/pin/add' , args , decoder = 'json' , * * kwargs )