dependency_list#

ModelsDict.dependency_list()[source]#

Returns a list of dependencies in the order with which they should be called to ensure data is calculated by one model before it’s asked for by another.

Notes

This raises an exception if the graph has cycles which means the dependencies are unresolvable (i.e. there is no order which the models can be called that will work). In this case it is possible to visually inspect the graph using dependency_graph.