Skip to content

Remove usage of import_module in idom.run #764

Closed as not planned
Closed as not planned
@rmorshea

Description

@rmorshea

Current Situation

There was a bug in idom.run because we failed to update an import after a name change.

Proposed Actions

We used import_module("idom.backend.default") presumably because it was syntactically convenient to write this. Instead we should just do an actual import:

if not implementation:  # pragma: no cover
    from idom.backend import default as implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-lowMay be resolved one any timeline.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions