def create_legacy_graph_tasks():
  """Create tasks to recursively parse the legacy graph."""
  return [
    transitive_hydrated_targets,
    transitive_hydrated_target,
    hydrated_targets,
    hydrate_target,
    find_owners,
    hydrate_sources,
    hydrate_bundles,
    RootRule(OwnersRequest),
  ]
Create tasks to recursively parse the legacy graph.