Skip to content

Circular Import Error when Importing Contract() #291

@KELs7

Description

@KELs7

I wanted to use the contract module
from contracting.db.contract import Contract
But got a circular import error because the contract module depends on the orm module which has the same line
from contracting.db.contract import Contract
therefore creating a circular dependency. Here is a screenshot of the error message.

IMG_20210313_210701

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions