Repository navigation
Commit ca254af
committed
fix: guard optional MySQL/Postgres imports in _check_versioned_read_support
Unconditional imports of pymysql and psycopg broke online reads for
users on other stores (Redis, DynamoDB, etc.) that don't have these
optional dependencies installed.
Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>1 parent 78dea93 commit ca254af
1 file changed
Lines changed: 19 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | 258 | | |
265 | 259 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
269 | 279 | | |
270 | 280 | | |
271 | 281 | | |
| |||
0 commit comments