Spaces:
Sleeping
Sleeping
Download __init__.py from Dolphin-Syndrom/code-review-env: direct link, hf CLI and curl.
- Browser
- Download file 901 Bytes
-
https://huggingface.co/spaces/Dolphin-Syndrom/code-review-env/resolve/main/__init__.py
- Command line
-
hf download hf://spaces/Dolphin-Syndrom/code-review-env/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Dolphin-Syndrom/code-review-env/resolve/main/__init__.py
901 Bytes
| # Copyright (c) Meta Platforms, Inc. and affiliates. | |
| # All rights reserved. | |
| # | |
| # This source code is licensed under the BSD-style license found in the | |
| # LICENSE file in the root directory of this source tree. | |
| """Code Review Env Environment.""" | |
| try: | |
| from .client import CodeReviewEnv | |
| from .models import ( | |
| ISSUE_TAXONOMY, | |
| CodeReviewAction, | |
| CodeReviewObservation, | |
| CodeReviewState, | |
| ReviewAction, | |
| ReviewObservation, | |
| ReviewState, | |
| ) | |
| __all__ = [ | |
| "ISSUE_TAXONOMY", | |
| "ReviewAction", | |
| "ReviewObservation", | |
| "ReviewState", | |
| "CodeReviewAction", | |
| "CodeReviewObservation", | |
| "CodeReviewState", | |
| "CodeReviewEnv", | |
| ] | |
| except ImportError: | |
| # When imported outside package context (e.g. pytest collection), | |
| # relative imports are unavailable. Gracefully degrade. | |
| __all__ = [] | |