From 85c0eae31d49c1acf765d4c1bdc3ff03e8bf504e Mon Sep 17 00:00:00 2001 From: Yufan Song <33971064+yufansong@users.noreply.github.com> Date: Mon, 17 Jun 2024 00:45:48 +0800 Subject: [PATCH] remove (#2465) --- opendevin/runtime/docker/exec_box.py | 5 ----- opendevin/runtime/docker/ssh_box.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/opendevin/runtime/docker/exec_box.py b/opendevin/runtime/docker/exec_box.py index 4c6cbffa61..d1e8c92e9d 100644 --- a/opendevin/runtime/docker/exec_box.py +++ b/opendevin/runtime/docker/exec_box.py @@ -18,11 +18,6 @@ from opendevin.core.schema import CancellableStream from opendevin.runtime.docker.process import DockerProcess, Process from opendevin.runtime.sandbox import Sandbox -# FIXME these are not used, should we remove them? -InputType = namedtuple('InputType', ['content']) -OutputType = namedtuple('OutputType', ['content']) - - ExecResult = namedtuple('ExecResult', 'exit_code,output') """ A result of Container.exec_run with the properties ``exit_code`` and ``output``. """ diff --git a/opendevin/runtime/docker/ssh_box.py b/opendevin/runtime/docker/ssh_box.py index 6cf0100f50..f574d90e3a 100644 --- a/opendevin/runtime/docker/ssh_box.py +++ b/opendevin/runtime/docker/ssh_box.py @@ -23,11 +23,6 @@ from opendevin.runtime.plugins import AgentSkillsRequirement, JupyterRequirement from opendevin.runtime.sandbox import Sandbox from opendevin.runtime.utils import find_available_tcp_port -# FIXME: these are not used, can we remove them? -InputType = namedtuple('InputType', ['content']) -OutputType = namedtuple('OutputType', ['content']) - - class SSHExecCancellableStream(CancellableStream): def __init__(self, ssh, cmd, timeout): super().__init__(self.read_output())