Skip to content

Commit 37afdbb

Browse files
Fix ruff formatting
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 3658d13 commit 37afdbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

openhands-sdk/openhands/sdk/conversation/impl/remote_conversation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,11 @@ def set_confirmation_policy(self, policy: ConfirmationPolicyBase) -> None:
11691169

11701170
def set_security_analyzer(self, analyzer: SecurityAnalyzerBase | None) -> None:
11711171
"""Set the security analyzer for the remote conversation."""
1172-
payload = {"security_analyzer": analyzer.model_dump(mode="json") if analyzer else analyzer}
1172+
payload = {
1173+
"security_analyzer": analyzer.model_dump(mode="json")
1174+
if analyzer
1175+
else analyzer
1176+
}
11731177
_send_request(
11741178
self._client,
11751179
"POST",

0 commit comments

Comments
 (0)