pedrodev2026's picture
Upload folder using huggingface_hub
3ae460c verified
Raw History Blame Contribute Delete
401 Bytes
from abc import ABC, abstractmethod
class BaseTerminal(ABC):
@abstractmethod
def send_keystrokes(self, keystrokes: str, wait_sec: float = 0.0) -> None:
"""
Sends keystrokes to the terminal.
Args:
keystrokes: The keystrokes to send to the terminal.
wait_sec: The number of seconds to wait for the command to complete.
"""
pass