Commit 5b08b27
feat: Add Core connection validation and refactor _determine_auth
- Refactor _determine_auth to accept URL object directly
- Add validation for Core connections to reject engine_name, account_name, and credentials
- Update existing Core connection tests to use valid format
- Add comprehensive tests for Core connection validation errors
- Addresses GitHub PR comments for stricter Core connection handling
Co-Authored-By: [email protected] <[email protected]>1 parent 15dad9f commit 5b08b27
File tree
2 files changed
+64
-14
lines changed- src/firebolt_db
- tests/unit
2 files changed
+64
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | | - | |
167 | | - | |
168 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
169 | 181 | | |
170 | 182 | | |
171 | 183 | | |
| |||
386 | 398 | | |
387 | 399 | | |
388 | 400 | | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
393 | 406 | | |
394 | | - | |
395 | | - | |
| 407 | + | |
| 408 | + | |
396 | 409 | | |
397 | | - | |
| 410 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | | - | |
| 307 | + | |
310 | 308 | | |
311 | 309 | | |
312 | 310 | | |
313 | | - | |
| 311 | + | |
314 | 312 | | |
315 | 313 | | |
316 | 314 | | |
| |||
340 | 338 | | |
341 | 339 | | |
342 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
343 | 380 | | |
344 | 381 | | |
345 | 382 | | |
| |||
0 commit comments