Commit 05708cc8 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

change products to dict type

parent 33f90971
Pipeline #12024 passed with stage
in 0 seconds
......@@ -61,7 +61,7 @@ class CsstResult:
def __init__(
self,
status: CsstStatus = CsstStatus.DEFAULT,
products: Optional[list[str]] = None,
products: Optional[dict] = None,
files: Optional[list[str]] = None,
**output: Any,
):
......@@ -85,7 +85,7 @@ class CsstResult:
for _ in files:
assert isinstance(_, str), "`files` should be a list of `str` type objects."
self.status: CsstStatus = status
self.products: Optional[list] = products
self.products: Optional[dict] = products
self.files: Optional[list] = files
self.output: dict = output
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment