mirror of https://github.com/tLDP/python-tldp
4c01ae4af7
This patch prepares the way for simplifying the topological sort solution for the classes which implement the document building logic. Formerly, each doctype class had to import networx itself and the @depends decorator stuffed the dependencies into a graph in the class variable. Now, each method tracks its dependencies (same decorator trick), but the topological sort is not computed until just before running the job. This is more flexible, more obvious, simpler and features less code replication. The next commit or two will convert the remaining doctype classes to use this techinque. |
||
---|---|---|
.. | ||
doctypes | ||
.gitignore | ||
__init__.py | ||
cascadingconfig.py | ||
config.py | ||
driver.py | ||
inventory.py | ||
ldpcollection.py | ||
outputs.py | ||
sources.py | ||
typeguesser.py | ||
utils.py |