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
77c20b40
Commit
77c20b40
authored
Jun 13, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
4fd243b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/__init__.py
View file @
77c20b40
...
...
@@ -28,10 +28,10 @@ class CsstDAGs(dict):
print
(
DAG_LIST
.
keys
())
@
staticmethod
def
get_dag
(
dag
:
str
=
""
):
def
get_dag
(
self
,
dag
:
str
=
""
):
assert
dag
in
DAG_LIST
,
f
"
{
dag
}
not in DAG_LIST"
return
DAG_LIST
[
dag
]
return
self
.
get
(
dag
,
None
)
@
staticmethod
def
get_all
():
return
DAG_LIST
def
get_all
(
self
):
return
set
(
self
.
keys
())
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