Skip to content

dependency

sqllocks_spindle.schema.dependency

Topological sort of tables by FK dependencies.

Classes

CircularDependencyError

Bases: Exception

Raised when tables have circular FK dependencies.

MissingTableError

Bases: ValueError

Raised when a table references another table that is not defined in the schema.

DependencyResolver

Resolve table generation order via topological sort.