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
30e30945
"git@csst-tb.bao.ac.cn:csst-cicd/csst-dag.git" did not exist on "0a6c9abacd124409629202b04d122db871465c3d"
Commit
30e30945
authored
Jun 14, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
aa530dca
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dag/dag/l1.py
View file @
30e30945
...
...
@@ -173,12 +173,17 @@ class GeneralL1DAG(BaseDAG):
if
not
demo
:
# push and update
res_push
=
self
.
push_dag_group_run
(
dag_group_run
,
dag_run_list
)
print
(
f
"
{
len
(
dag_run_list
)
}
DAG runs ->
{
res_push
}
"
)
print
(
f
"
{
len
(
dag_run_list
)
}
DAG runs -> "
f
"
{
json
.
dumps
(
dag_group_run
,
indent
=
None
,
separators
=
(
','
,
'
:
'))
}
-> "
f
"
{
res_push
}
"
)
assert
res_push
.
success
,
res_push
.
message
else
:
# no push
print
(
f
"
{
len
(
dag_run_list
)
}
DAG runs ->
{
json
.
dumps
(
dag_group_run
,
indent
=
None
,
separators
=
(
','
,
'
:
'))
}
"
f
"
{
len
(
dag_run_list
)
}
DAG runs -> "
f
"
{
json
.
dumps
(
dag_group_run
,
indent
=
None
,
separators
=
(
','
,
'
:
'))
}
"
)
# TODO: `dag_group_run` and `dag_run_list` should be dumped to a text file in the future
return
dag_group_run
,
dag_run_list
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