@classmethod
    def from_nvim(cls, nvim):
        return cls(nvim._session, nvim.channel_id, nvim.metadata,
                   nvim.types, nvim._decode, nvim._err_cb)
Create a new Nvim instance from an existing instance.
dataset/ETHPy150Open neovim/python-client/neovim/api/nvim.py/Nvim.from_nvim