Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /li-boxuan_OpenDevin /openhands /runtime /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 should_exit() | |
Xet Storage Details
- Size:
- 311 Bytes
- Xet hash:
- e2cca1343584d1f69949a441d9b765bc79338d756ea25ed772b1d02112924333
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.