Skip to content
Snippets Groups Projects
Commit 559721f1 authored by vlorentz's avatar vlorentz
Browse files

Default to DFS

parent 925d3343
No related branches found
Tags v6.3.1
No related merge requests found
......@@ -54,7 +54,7 @@ class TopoSort(luigi.Task):
graph_name = luigi.Parameter(default="graph")
object_types = luigi.Parameter()
direction = luigi.ChoiceParameter(choices=["forward", "backward"])
algorithm = luigi.ChoiceParameter(choices=["dfs", "bfs"])
algorithm = luigi.ChoiceParameter(choices=["dfs", "bfs"], default="dfs")
def requires(self) -> List[luigi.Task]:
"""Returns an instance of :class:`LocalGraph`."""
......
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