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
a83a4c08
Commit
a83a4c08
authored
Jul 21, 2025
by
BO ZHANG
🏀
Browse files
tweak
parent
ba122dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/dag/_dispatcher.py
View file @
a83a4c08
...
@@ -116,7 +116,7 @@ def override_common_keys(d1: dict, d2: dict) -> dict:
...
@@ -116,7 +116,7 @@ def override_common_keys(d1: dict, d2: dict) -> dict:
def
extract_basis_table
(
dlist
:
list
[
dict
],
basis_keys
:
tuple
)
->
table
.
Table
:
def
extract_basis_table
(
dlist
:
list
[
dict
],
basis_keys
:
tuple
)
->
table
.
Table
:
"""Extract basis key-value pairs from a list of dictionaries."""
"""Extract basis key-value pairs from a list of dictionaries."""
return
table
.
Table
([{
k
:
d
.
get
(
k
,
default
=
""
)
for
k
in
basis_keys
}
for
d
in
dlist
])
return
table
.
Table
([{
k
:
d
.
get
(
k
,
""
)
for
k
in
basis_keys
}
for
d
in
dlist
])
def
split_data_basis
(
data_basis
:
table
.
Table
,
n_split
:
int
=
1
)
->
list
[
table
.
Table
]:
def
split_data_basis
(
data_basis
:
table
.
Table
,
n_split
:
int
=
1
)
->
list
[
table
.
Table
]:
...
...
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