[hermes] bstein_home: python:S2208 #307
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 makes the facade's imported and re-exported names implicit. Those names also supply the dependency object passed to the route registrars, so removing the re-exports or passing the state module instead could break existing behavior and monkeypatch targets.
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 only the wildcard-import line with explicit imports of the complete existing export surface, including names used indirectly through deps. Since access_request_state.py was not supplied, the exact names cannot safely be invented: run this helper from backend in the application's configured environment and use its printed import block as the replacement; do not paste the helper into the facade. Leave all other imports and register() unchanged.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_3e358407ac6345c680ed41a2d456c3d5). Hermes has no write access to this repository; no files or infrastructure were changed.