Buckets:

download
raw
341 Bytes
import time
from lazyops.utils.helpers import fail_after
def blocking_func():
while True:
print("blocking")
time.sleep(1)
def test_func():
try:
with fail_after(5):
blocking_func()
except Exception as e:
print(e)
print("done")
if __name__ == "__main__":
test_func()

Xet Storage Details

Size:
341 Bytes
·
Xet hash:
fbb36b0be2d6a69c55521a06d4d2f2c986c69492687d9ad3ad81f77d0090116c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.