Skip to content
Snippets Groups Projects
Commit 735397ac authored by vlorentz's avatar vlorentz
Browse files

cli: Sort object types to be processed in the right order

Order was randomized since 4154d43a
parent fec47f6f
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,11 @@ def export_graph(
option_name="formats", message=f"{f} is not an available format."
)
# Enforce order (from origin to contents) to reduce number of holes in the graph.
object_types = [
obj_type for obj_type in MAIN_TABLES.keys() if obj_type in object_types
]
def importcls(clspath):
mod, cls = clspath.split(":")
m = import_module(mod)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment