Commit 78e0f80
Fix dynamic imports in SQLAlchemy dialect components
Remove runtime imports that violate PyAthena development guidelines:
- Move ExecutionContext import to top-level in base.py
- Move AthenaDDLIdentifierPreparer import to top-level in compiler.py
- Remove unnecessary comments from do_execute method
This change improves static analysis, code completion, and dependency
tracking while maintaining full functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1e573f6 commit 78e0f80
2 files changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | 382 | | |
386 | 383 | | |
387 | 384 | | |
388 | 385 | | |
389 | 386 | | |
390 | 387 | | |
391 | | - | |
392 | 388 | | |
393 | 389 | | |
394 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
275 | | - | |
276 | 275 | | |
277 | 276 | | |
278 | 277 | | |
| |||
0 commit comments