Buckets:

download
raw
540 Bytes
from flask import Flask, jsonify
import subprocess, os
app = Flask(__name__)
@app.get("/health")
def health():
try:
# Cheap sanity check that dvc is callable
subprocess.run(["dvc","--version"], check=True,
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
return jsonify(status="ok")
except Exception as e:
return jsonify(status="error", detail=type(e).__name__), 500
if __name__ == "__main__":
app.run(host="0.0.0.0", port=int(os.environ.get("HEALTH_PORT", 8010)))

Xet Storage Details

Size:
540 Bytes
·
Xet hash:
c6609ba4b58dbcbbe816e80ff4cb3c891b817f217664388a3d6fc06c026fb526

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