Skip to content

[Bug][DX]: New EF refactor breaks static analysis of imports for IDEs #2398

@tazarov

Description

@tazarov

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

image

VSCode

image

Google Colab

Legacy import:

Screenshot 2024-06-21 at 11 00 52

**New Import from EF file: **
Screenshot 2024-06-21 at 11 00 28

Versions

Chroma@main

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions