[hermes] bstein_home: python:S2208 #813
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 facade uses a wildcard import, which hides the dependency surface from both readers and static analysis. Import the state module explicitly and re-export the same public names so callers and route patching retain their existing behavior.
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 an explicit module import, then copy the module's public API into this facade's globals. This preserves the same names thatfrom .access_request_state import *exposes while satisfying the rule.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_027aad0ec6ef46549361c1e971538380). Hermes has no write access to this repository; no files or infrastructure were changed.