Buckets:

download
raw
407 Bytes
import pytest
from sqlalchemy.dialects import sqlite
from sqlalchemy.ext.asyncio import AsyncSession
from sqlalchemy.sql.expression import text
@pytest.mark.asyncio
class TestDatabase:
async def test_sqlite_pragma_settings(self, db: AsyncSession):
if db.bind.dialect.name != sqlite.dialect.name:
return
assert (await db.execute(text("PRAGMA foreign_keys"))).scalar() == 1

Xet Storage Details

Size:
407 Bytes
·
Xet hash:
56a3f57b964e848cd0fd8c850c741a93be5b6721c4c2c3c4848a931cb838e6ac

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