Commit bc6284af authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use json.dumps format to print dag_run's

parent e10e0cea
...@@ -37,6 +37,7 @@ python -m csst_dag.cli.run \ ...@@ -37,6 +37,7 @@ python -m csst_dag.cli.run \
import argparse import argparse
import os import os
import json
import joblib import joblib
...@@ -182,7 +183,7 @@ if args.verbose: ...@@ -182,7 +183,7 @@ if args.verbose:
print(f">>> `dag_run_list` : [ {n_dag_run_success} / {n_dag_run_all} ]") print(f">>> `dag_run_list` : [ {n_dag_run_success} / {n_dag_run_all} ]")
if len(dag_run_list) > 0: if len(dag_run_list) > 0:
for dag_run in dag_run_list: for dag_run in dag_run_list:
print(f"\t- {dag_run}") print(f"\t- {json.dumps(dag_run, separators=(',', ':'))}")
# dump dag_group_run # dump dag_group_run
joblib.dump( joblib.dump(
......
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