contracting
contracting copied to clipboard
Circular Import Error when Importing Contract()
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.

Maybe there's no need to use it directly.