Buckets:

download
raw
242 Bytes
from src.models.models import SessionLocal
def get_db():
db = SessionLocal()
try:
yield db
finally:
db.close()
def to_pydantic(db_obj, pydantic_model):
return pydantic_model.from_orm(db_obj)

Xet Storage Details

Size:
242 Bytes
·
Xet hash:
39120d2d12500252100c3220d4438b00a17fec11cfd2dee01d75f7b9fb1150ba

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