CoolFace
Apppublic

1Jayanth/devops-autoheal

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
client.py14 linesDownload Raw Back to env
1from openenv.core.env_client import EnvClient2from env.models import DevOpsAction, DevOpsObservation, DevOpsState3 4class DevOpsEnvClient(EnvClient[DevOpsAction, DevOpsObservation, DevOpsState]):5    """Client for connecting to a deployed DevOpsEnvironment via REST API."""6    7    def __init__(self, base_url: str):8        super().__init__(9            base_url=base_url,10            action_cls=DevOpsAction,11            observation_cls=DevOpsObservation,12            state_cls=DevOpsState13        )14