File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
devops/scripts/benchmarks/utils Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55
66from dataclasses import dataclass , field
7- from typing import Optional , Dict , List , Any
87from dataclasses_json import config , dataclass_json
98from datetime import datetime
109
@@ -55,16 +54,16 @@ class BenchmarkTag:
5554@dataclass
5655class BenchmarkMetadata :
5756 type : str = "benchmark" # or 'group'
58- description : Optional [ str ] = None
59- notes : Optional [ str ] = None
60- unstable : Optional [ str ] = None
57+ description : str = None
58+ notes : str = None
59+ unstable : str = None
6160 tags : list [str ] = field (default_factory = list ) # Changed to list of tag names
6261
6362
6463@dataclass_json
6564@dataclass
6665class BenchmarkOutput :
6766 runs : list [BenchmarkRun ]
68- metadata : Dict [str , BenchmarkMetadata ]
69- tags : Dict [str , BenchmarkTag ]
70- default_compare_names : List [str ] = field (default_factory = list )
67+ metadata : dict [str , BenchmarkMetadata ]
68+ tags : dict [str , BenchmarkTag ]
69+ default_compare_names : list [str ] = field (default_factory = list )
You can’t perform that action at this time.
0 commit comments