nemo_gym.orchestration.executors.connection
nemo_gym.orchestration.executors.connection
Module Contents
Classes
Functions
Data
API
Abstract
abstract
abstract
abstract
Bases: Connection
Single SSH master connection; copy and all commands reuse the same socket.
_MASTER_TIMEOUT
_OPTS
_master
_socket
Like _checked, but stdin stays open until the command exits, so its EOF on the far end means that this
process or its connection is gone. The commands must end the remote shell themselves (exit).
Progress lines on the command’s stderr (READER_PROGRESS_PREFIX) reach this process’s stderr while it runs;
stdout is returned whole, as before.
Keep all of stderr for the error message, and pass each progress line on as it arrives.