Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelAFH committed Feb 3, 2025
1 parent 2bca0e9 commit 779ba1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/redact_scenario_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def redact_result(result: RequestResult) -> RequestResult:


def redact_request_state(request_state: RequestState, redact_output: bool) -> RequestState:
assert request_state.result is not None
result = redact_result(request_state.result) if redact_output else request_state.result
return dataclasses.replace(
request_state,
Expand Down

0 comments on commit 779ba1c

Please sign in to comment.