Skip to content

Commit

Permalink
support airflow dag restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoWuPeloton committed Dec 4, 2023
1 parent 4eab26d commit 835da58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagfactory/dagfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def from_directory(cls, config_dir, globals: Dict[str, Any], parent_default_conf
default_config['tags'] = sub_fpath.split("/")[5:7]
# catch the errors so the rest of the dags can still be imported
try:
print("config_filepath="+config_filepath)
print("config_filepath="+sub_fpath)
dag_factory = cls(config_filepath=sub_fpath, default_config=default_config)
dag_factory.generate_dags(globals)
except Exception as e:
Expand Down

0 comments on commit 835da58

Please sign in to comment.