Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /li-boxuan_OpenDevin /openhands /utils /tenacity_stop.py
| from tenacity import RetryCallState | |
| from tenacity.stop import stop_base | |
| from openhands.utils.shutdown_listener import should_exit | |
| class stop_if_should_exit(stop_base): | |
| """Stop if the should_exit flag is set.""" | |
| def __call__(self, retry_state: 'RetryCallState') -> bool: | |
| return bool(should_exit()) | |
Xet Storage Details
- Size:
- 317 Bytes
- Xet hash:
- 8cdce8068c32ec8c2ddd89b6cd76bad0803b879b153e858ffa3ade1038432b06
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.