code: def add_pyobj(self, py_obj, **kwargs):
          
          warnings.warn("Using `*_pyobj` on untrusted data is a security risk",
                        DeprecationWarning)
          return self.add_bytes(encoding.Pickle().encode(py_obj), **kwargs)
docs: Adds a picklable Python object as a file to IPFS.
  
          .. deprecated:: 0.4.2
             The ``*_pyobj`` APIs allow for arbitrary code execution if abused.
             Either switch to :meth:`~ipfsapi.Client.add_json` or use
             ``client.add_bytes(pickle.dumps(py_obj))`` instead.
  
          Please see :meth:`~ipfsapi.Client.get_pyobj` for the
          **security risks** of using these methods!
  
          .. code-block:: python
  
              >>> c.add_pyobj([0, 1.0, 2j, '3', 4e5])
              'QmWgXZSUTNNDD8LdkdJ8UXSn55KfFnNvTP1r7SyaQd74Ji'
  
          Parameters
          ----------
          py_obj : object
              A picklable Python object
  
          Returns
          -------
              str : Hash of the added IPFS object