def classic_connect(self):
        if self.local_port is None:
            # ParamikoMachine
            stream = SocketStream(self.remote_machine.connect_sock(self.remote_port))
            return rpyc.classic.connect_stream(stream)
        else:
            return rpyc.classic.connect("localhost", self.local_port)
Overwrite a file (in an atomic fashion when possible).
dataset/ETHPy150Open tomerfiliba/rpyc/rpyc/utils/zerodeploy.py/DeployedServer.classic_connect--crossover with--dataset/ETHPy150Open paylogic/pip-accel/pip_accel/utils.py/replace_file