Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
bc6284af
Commit
bc6284af
authored
Jul 22, 2025
by
BO ZHANG
🏀
Browse files
use json.dumps format to print dag_run's
parent
e10e0cea
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dag/cli/run.py
View file @
bc6284af
...
...
@@ -37,6 +37,7 @@ python -m csst_dag.cli.run \
import
argparse
import
os
import
json
import
joblib
...
...
@@ -182,7 +183,7 @@ if args.verbose:
print
(
f
">>> `dag_run_list` : [
{
n_dag_run_success
}
/
{
n_dag_run_all
}
]"
)
if
len
(
dag_run_list
)
>
0
:
for
dag_run
in
dag_run_list
:
print
(
f
"
\t
-
{
dag_run
}
"
)
print
(
f
"
\t
-
{
json
.
dumps
(
dag_run
,
separators
=
(
','
,
'
:
'))
}
"
)
# dump dag_group_run
joblib
.
dump
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment