Commit 67751d78 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent f539a8c6
......@@ -80,7 +80,7 @@ class BaseDAG:
json_path = os.path.join(DAG_CONFIG_DIR, f"{dag}.json")
with open(yml_path, "r") as f:
self.dag_cfg = yaml.safe_load(f)[0]
self.dag_cfg = yaml.safe_load(f)
assert (
self.dag_cfg["name"] == self.dag
), f"{self.dag_cfg['name']} != {self.dag}" # , f"{dag_cfg} not consistent with definition in .yml file."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment