[hermes] bstein_home: python:S2208 #246
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 populate the facade. Those re-exported names are also its existing monkey-patching surface because register() passes the facade module itself as deps, so simply switching deps to the state module would change 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 a module import and an intentional compatibility re-export, respecting all when defined and otherwise exporting non-underscore names, just as the wildcard import does. This keeps the same objects on the facade and leaves deps and registration order unchanged without guessing names from the unprovided state module.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_07e1f88640534123aa2bd7838c76d650). Hermes has no write access to this repository; no files or infrastructure were changed.