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-pipeline
csst_common
Commits
05708cc8
Commit
05708cc8
authored
Jan 28, 2026
by
BO ZHANG
🏀
Browse files
change products to dict type
parent
33f90971
Pipeline
#12024
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/status.py
View file @
05708cc8
...
@@ -61,7 +61,7 @@ class CsstResult:
...
@@ -61,7 +61,7 @@ class CsstResult:
def
__init__
(
def
__init__
(
self
,
self
,
status
:
CsstStatus
=
CsstStatus
.
DEFAULT
,
status
:
CsstStatus
=
CsstStatus
.
DEFAULT
,
products
:
Optional
[
list
[
str
]
]
=
None
,
products
:
Optional
[
dict
]
=
None
,
files
:
Optional
[
list
[
str
]]
=
None
,
files
:
Optional
[
list
[
str
]]
=
None
,
**
output
:
Any
,
**
output
:
Any
,
):
):
...
@@ -85,7 +85,7 @@ class CsstResult:
...
@@ -85,7 +85,7 @@ class CsstResult:
for
_
in
files
:
for
_
in
files
:
assert
isinstance
(
_
,
str
),
"`files` should be a list of `str` type objects."
assert
isinstance
(
_
,
str
),
"`files` should be a list of `str` type objects."
self
.
status
:
CsstStatus
=
status
self
.
status
:
CsstStatus
=
status
self
.
products
:
Optional
[
lis
t
]
=
products
self
.
products
:
Optional
[
dic
t
]
=
products
self
.
files
:
Optional
[
list
]
=
files
self
.
files
:
Optional
[
list
]
=
files
self
.
output
:
dict
=
output
self
.
output
:
dict
=
output
...
...
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