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
94fba0a4
Commit
94fba0a4
authored
May 06, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
71707f5b
Changes
2
Show whitespace changes
Inline
Side-by-side
csst_dag/dag/_base_dag.py
View file @
94fba0a4
...
...
@@ -69,5 +69,6 @@ class BaseDAG:
return
dag_run_id
@
abstractmethod
def
push
(
self
,
msg
:
str
)
->
None
:
return
self
.
dfs
.
redis
.
push
(
msg
)
def
push
(
self
,
msg_dict
:
dict
)
->
None
:
msg_str
=
json
.
dumps
(
msg_dict
,
ensure_ascii
=
False
,
indent
=
None
)
return
self
.
dfs
.
redis
.
push
(
msg_str
)
csst_dag/dag/msc.py
View file @
94fba0a4
...
...
@@ -101,7 +101,4 @@ class CsstMscL1Mbi(BaseDAG):
)
assert
this_update
.
success
,
this_update
.
message
msgs
.
append
(
this_msg
)
# self.push(msg)
return
msgs
# push msg
# update prc_status
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