Skip to content

Cyclic library import loop #98

Description

@shumpohl

While setting up my node library I was under the impression that graph and dependent nodes can go in the same library. Apparently, this is not the case because when I do

# my_library/my_graph.py
library = QualibrationLibrary(pathlib.Path(__file__).parent)

in the graph file to load the nodes I end up with an infinite recursive import. Am I using it wrong?

I am using qualibrate-core 0.3.0 from pypi and python 3.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions