File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1- import sys
2-
31from debug_gym .gym .terminals .docker import DockerTerminal
42from debug_gym .gym .terminals .kubernetes import KubernetesTerminal
53from debug_gym .gym .terminals .local import LocalTerminal
64from debug_gym .gym .terminals .terminal import Terminal
75from debug_gym .logger import DebugGymLogger
86
9- # Preserve legacy debug_gym.gym.terminals.__init__.* access patterns.
10- __init__ = sys .modules [__name__ ]
11-
127
138def select_terminal (
149 terminal_config : dict | None = None ,
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ def __init__(self, **kwargs):
164164 captured .update (kwargs )
165165
166166 monkeypatch .setattr (
167- "debug_gym.gym.terminals.__init__. KubernetesTerminal" ,
167+ "debug_gym.gym.terminals.KubernetesTerminal" ,
168168 DummyK8s ,
169169 )
170170
You can’t perform that action at this time.
0 commit comments