code: def pin_add(self, path, *paths, **kwargs):
          
          #PY2: No support for kw-only parameters after glob parameters
          if "recursive" in kwargs:
              kwargs.setdefault("opts", {"recursive": kwargs.pop("recursive")})
  
          args = (path,) + paths
          return self._client.request('/pin/add', args, decoder='json', **kwargs)
docs: Pins objects to local storage.
  
          Stores an IPFS object(s) from a given path locally to disk.
  
          .. code-block:: python
  
              >>> c.pin_add("QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d")
              {'Pins': ['QmfZY61ukoQuCX8e5Pt7v8pRfhkyxwZKZMTodAtmvyGZ5d']}
  
          Parameters
          ----------
          path : str
              Path to object(s) to be pinned
          recursive : bool
              Recursively unpin the object linked to by the specified object(s)
  
          Returns
          -------
              dict : List of IPFS objects that have been pinned