def __init__(self, host, user, password, interpreter, cwd): SshMixin.__init__(self, host, user, password, interpreter, cwd) self._upload_main_backend() self._proc = self._start_main_backend() self._main_backend_is_fresh = True self._response_lock = threading.Lock() self._start_response_forwarder() BaseBackend.__init__(self)
def __init__(self, args): SshMixin.__init__( self, args["host"], args["user"], args["password"], args["interpreter"], args.get("cwd") ) self._interpreter_launcher = args.get("interpreter_launcher", []) UnixMicroPythonBackend.__init__(self, args)