Download tcod/trinity/utils/annotations.py from SeanWang0027/ftb-sciworld-repro: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/SeanWang0027/ftb-sciworld-repro/resolve/main/tcod/trinity/utils/annotations.py
- Command line
-
hf download hf://SeanWang0027/ftb-sciworld-repro/tcod/trinity/utils/annotations.py
-
curl -L -o annotations.py https://huggingface.co/SeanWang0027/ftb-sciworld-repro/resolve/main/tcod/trinity/utils/annotations.py
469 Bytes
| """Some annotations.""" | |
| def Experimental(func): | |
| """Decorator to mark a function/class as experimental. | |
| Experimental features may change or be removed in future releases. | |
| """ | |
| func._is_experimental = True | |
| return func | |
| def Deprecated(func): | |
| """Decorator to mark a function/class as deprecated. | |
| Deprecated features should not be used in new code and may be removed in future releases. | |
| """ | |
| func._is_deprecated = True | |
| return func | |