We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de32baa + eba6b05 commit 8cb9ad4Copy full SHA for 8cb9ad4
simvue/factory/proxy/remote.py
@@ -339,8 +339,8 @@ def list_alerts(self) -> list[dict[str, typing.Any]]:
339
self._error(f"Got exception when listing alerts: {str(err)}")
340
return []
341
342
- if not (response_data := response.json()) or not (
343
- data := response_data.get("data")
+ if not (response_data := response.json()) or (
+ (data := response_data.get("data")) is None
344
):
345
self._error(
346
"Expected key 'data' in response from server during alert retrieval"
0 commit comments