File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ class TestMatrixCompletedData:
170170 State of the test matrix.
171171 """
172172
173- invalid_matrix_details : str
173+ invalid_matrix_details : str | None
174174 """
175175 Code that describes why the test matrix is considered invalid. Only set for
176176 matrices in the INVALID state.
@@ -210,7 +210,7 @@ def _event_handler(func: _C1, raw: _ce.CloudEvent) -> None:
210210 create_time = _dt .datetime .strptime (event_data ["createTime" ],
211211 "%Y-%m-%dT%H:%M:%S.%f%z" ),
212212 state = TestState (event_data ["state" ]),
213- invalid_matrix_details = event_data [ "invalidMatrixDetails" ] ,
213+ invalid_matrix_details = event_data . get ( "invalidMatrixDetails" ) ,
214214 outcome_summary = OutcomeSummary (event_data ["outcomeSummary" ]),
215215 result_storage = ResultStorage (
216216 tool_results_history = event_data ["resultStorage" ]
You can’t perform that action at this time.
0 commit comments