Fix bandit nosec marker for CI pipeline

This commit is contained in:
Peter Ibekwe
2026-06-03 17:45:33 -07:00
Unverified
parent 355997f23b
commit 6e016b1cfb
+1 -1
View File
@@ -1563,7 +1563,7 @@ class MCPTool:
raise ToolExecutionException(text or str(parsed))
return parser(fallback_result)
assert task_id is not None # noqa: S101 - protected by the branch above
assert task_id is not None # noqa: S101 # nosec B101 - protected by the branch above
# Phase 2: poll until terminal status, then fetch payload. Never re-issue tools/call
# past this point; reconnect-and-retry only against the same task_id.