Spaces:
Build error
Build error
Download __init__.py from uvpatel7271/python_env: direct link, hf CLI and curl.
- Browser
- Download file 967 Bytes
-
https://huggingface.co/spaces/uvpatel7271/python_env/resolve/main/__init__.py
- Command line
-
hf download hf://spaces/uvpatel7271/python_env/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/uvpatel7271/python_env/resolve/main/__init__.py
967 Bytes
| """Public package API for the Python code review OpenEnv benchmark.""" | |
| try: | |
| from .client import CodeReviewEnv, MyEnv, PythonEnv | |
| from .models import ( | |
| HealthResponse, | |
| HistoryEntry, | |
| PythonCodeReviewAction, | |
| PythonCodeReviewObservation, | |
| PythonCodeReviewState, | |
| RewardDetails, | |
| TaskDescriptor, | |
| TaskGrade, | |
| ) | |
| except ImportError: # pragma: no cover | |
| from client import CodeReviewEnv, MyEnv, PythonEnv | |
| from models import ( | |
| HealthResponse, | |
| HistoryEntry, | |
| PythonCodeReviewAction, | |
| PythonCodeReviewObservation, | |
| PythonCodeReviewState, | |
| RewardDetails, | |
| TaskDescriptor, | |
| TaskGrade, | |
| ) | |
| __all__ = [ | |
| "PythonEnv", | |
| "CodeReviewEnv", | |
| "MyEnv", | |
| "PythonCodeReviewAction", | |
| "PythonCodeReviewObservation", | |
| "PythonCodeReviewState", | |
| HealthResponse, | |
| HistoryEntry, | |
| RewardDetails, | |
| TaskDescriptor, | |
| TaskGrade, | |
| ] | |