[hermes] bstein_home: python:S2208 #806
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 obscures which names the state module exports into this facade. Those exports are also part of the dependency and monkey-patching surface passed to route registration, so removing names merely because this file does not reference them directly could 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 inside a temporary helper, explicitly copying the same exports that Python's wildcard import would expose: names in all, or otherwise names not starting with an underscore. Pop the helper before invoking it so no temporary name remains or accidentally removes a state export. This preserves the facade's exported objects and its existing module-based dependency and patch surface without suppressing the rule.Links
/api/admin/audit/events, event typeshermes_autotriage_incidentandhermes_autotriage_diagnosis.Filed automatically by Ariadne from a Hermes Agent diagnosis (run run_87a6fad3e08d4caea7d57f404f130ea9). Hermes has no write access to this repository; no files or infrastructure were changed.