[hermes] bstein_home: python:S2208 #213
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SonarQube reports python:S2208 in
backend/atlas_portal/routes/access_requests.py. The build is green; this is a standing finding, not a failure.What is wrong
The wildcard import hides which names enter the facade's namespace. Simply removing it or passing the state module as deps would change the existing facade-level patch surface, so the replacement must retain those exported bindings on this module.
Ariadne opened no pull request for it: no automated patch was possible for this finding.
Facts
backend/atlas_portal/routes/access_requests.py:8)Suggested fix (not applied)
Hermes could not open a pull request for this, so the change below was not written, validated, or pushed anywhere. It is a starting point for whoever picks this up, not a reviewed patch.
backend/atlas_portal/routes/access_requests.py— Replace the wildcard import with a module import and deliberately copy its exports into the facade. Respecting all, or otherwise copying names without a leading underscore, retains the wildcard import's export selection and import-time bindings; keeping deps as this facade preserves existing monkeypatch behavior. The state module's contents were not supplied, so this avoids guessing an incomplete explicit import list.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_c89ece8533fb49e283d199a17f3dddb8). Hermes has no write access to this repository; no files or infrastructure were changed.