mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
remove (#2465)
This commit is contained in:
parent
b5e6ba8239
commit
85c0eae31d
@ -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``. """
|
||||
|
||||
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user