Commit 1150733
cleanup(sqlalchemy): pin dialect attributes and description
- ISSUE-89: pin dialect_description as "dqlite+dqlitedbapi" so
SQLAlchemy ORM error-message formatting cannot silently change the
rendered dialect identity across upgrades.
- ISSUE-90: declare `supports_sane_isolation_level = True` explicitly.
dqlite always enforces SERIALIZABLE; the reported level is
trustworthy across transactions, so SQLAlchemy skips defensive
isolation-level resets.
- ISSUE-94: declare `supports_native_decimal = False` explicitly.
Matches the inherited pysqlite default but pins the contract against
upstream drift and matches the already-explicit
`supports_native_boolean = True` pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 48e776b commit 1150733
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
47 | 62 | | |
48 | 63 | | |
49 | 64 | | |
| |||
0 commit comments