Replace static analysis hack in `__init__.py` with `TYPE_CHECKING` guard (#10409)
* Refactor static analysis hack to use TYPE_CHECKING
* Remove redundant explanatory comment
* remove redundant no-cover pragma
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com> T
Toby Harradine committed
ceb5f9655848895f4e0d0d096691d03c87efca90
Parent: d207d0e
Committed by GitHub <noreply@github.com>
on 8/27/2026, 6:16:25 PM