<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_pyobj(self, py_obj, **kwargs):
 """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 'QmWgXZSUTNNDD8LdkdJ8UXSn55KfFnNvTP1r7SyaQd74Ji' Parameters py_obj : object A picklable Python object Returns ------- str : Hash of the added IPFS object """

        warnings.warn("Using `*_pyobj` on untrusted data is a security risk",
                      DeprecationWarning)
        return self.add_bytes(encoding.Pickle().encode(py_obj), **kwargs)