We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e11b936 commit 81f9ebaCopy full SHA for 81f9eba
tests/model_explainability/guardrails/test_guardrails.py
@@ -389,8 +389,7 @@ def test_guardrails_traces_in_tempo(
389
390
@retry(wait_timeout=Timeout.TIMEOUT_1MIN, sleep=5)
391
def check_traces():
392
- services = requests.get(f"{tempo_traces_service_portforward}/api/services").json().get("data", [])
393
-
+ services = requests.get(f"{tempo_traces_service_portforward}/api/services").json().get("data") or []
394
guardrails_services = [s for s in services if "guardrails" in s]
395
if not guardrails_services:
396
return False
0 commit comments