Skip to content

Commit c4940f9

Browse files
committed
Python: fix: suppress the loop-token key lint with ruff: ignore
1 parent 28c9d08 commit c4940f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python/packages/core/agent_framework/_agents.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
# context variable: options reach only the runs the loop itself drives, so a
9292
# nested ``agent.run()`` (fresh options, its own session) keeps its own turn,
9393
# and nothing leaks into the caller's context while a stream is paused.
94-
_LOOP_ITERATION_TOKEN_KEY = "_agent_loop_iteration" # nosec B105 - a context-options key, not a credential
94+
_LOOP_ITERATION_TOKEN_KEY = "_agent_loop_iteration" # nosec B105 - a context-options key, not a credential # ruff: ignore[hardcoded-password-string]
9595

9696
if TYPE_CHECKING:
9797
ResponseModelBoundT = TypeVar("ResponseModelBoundT", bound=BaseModel)

0 commit comments

Comments
 (0)