[Bug][DX]: New EF refactor breaks static analysis of imports for IDEs
What happened?
The new refactoring of the EFs with dynamic imports #2034 breaks IDEs static analysis for imports. The dynamic imports work fine at runtime.
PyCharm
VSCode
Google Colab
Legacy import:
**New Import from EF file: **
Versions
Chroma@main
Relevant log output
No response
cc @atroyn and @nablabits
This is probably happening because of the way we do dynamic imports. I agree it's a bad user experience. @tazarov if you can take some time to see how this can be improved while retaining dynamic importing, that would be helpful. Maybe we need to populate __all__ ?
@tazarov lmk if you can take a look! :)
I'll have the PR up shortly.
closing this issue, supported in 1.0b0