class CircularDependencyError(SQLAlchemyError):
Raised by topological sorts when a circular dependency is detected.
There are two scenarios where this error occurs:
_schema.MetaData.sorted_tables
operation, two
_schema.ForeignKey
or _schema.ForeignKeyConstraint
objects mutually refer to each
other. Apply the use_alter=True flag to one or both,
see :ref:`use_alter`.Method | __init__ |
Undocumented |
Method | __reduce__ |
Undocumented |
Instance Variable | cycles |
Undocumented |
Instance Variable | edges |
Undocumented |
Inherited from SQLAlchemyError
:
Method | __str__ |
Undocumented |
Method | __unicode__ |
Undocumented |
Method | _message |
Undocumented |
Method | _sql_message |
Undocumented |
Inherited from HasDescriptionCode
(via SQLAlchemyError
):
Method | _code_str |
Undocumented |
Instance Variable | code |
Undocumented |