soc-triage-env / __init__.py
vasanthfeb13's picture
Upload folder using huggingface_hub
a0f78a2 verified
Raw
History Blame Contribute Delete
659 Bytes
"""SOC Triage Environment package exports."""
# Guard the client import \u2013 it requires `requests` which may not be present,
# and also uses absolute `soc_triage_env.*` imports that fail when the package
# is not pip-installed (e.g. in the validator's raw-file workspace).
try:
from soc_triage_env.client import SOCTriageEnvClient
except Exception: # pragma: no cover
SOCTriageEnvClient = None # type: ignore[assignment,misc]
from soc_triage_env.models import TriageAction, TriageObservation, TriageReward, TriageState
__all__ = [
"SOCTriageEnvClient",
"TriageAction",
"TriageObservation",
"TriageReward",
"TriageState",
]