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:
170
170
State of the test matrix.
171
171
"""
172
172
173
- invalid_matrix_details : str
173
+ invalid_matrix_details : str | None
174
174
"""
175
175
Code that describes why the test matrix is considered invalid. Only set for
176
176
matrices in the INVALID state.
@@ -210,7 +210,7 @@ def _event_handler(func: _C1, raw: _ce.CloudEvent) -> None:
210
210
create_time = _dt .datetime .strptime (event_data ["createTime" ],
211
211
"%Y-%m-%dT%H:%M:%S.%f%z" ),
212
212
state = TestState (event_data ["state" ]),
213
- invalid_matrix_details = event_data [ "invalidMatrixDetails" ] ,
213
+ invalid_matrix_details = event_data . get ( "invalidMatrixDetails" ) ,
214
214
outcome_summary = OutcomeSummary (event_data ["outcomeSummary" ]),
215
215
result_storage = ResultStorage (
216
216
tool_results_history = event_data ["resultStorage" ]
You can’t perform that action at this time.
0 commit comments