SonarCloud reports rule python:S1192 for duplicated string literal
"Ordering field" in:
backend/apps/api/rest/v0/snapshot.py
Scope:
- File: backend/apps/api/rest/v0/snapshot.py
- Change type: refactor only (no functional changes)
The literal is repeated across multiple Query() definitions.
Proposed fix is to extract it into a shared constant to improve
maintainability without changing behavior.
I have a local fix prepared and can submit a PR immediately once assigned.
Requesting assignment.
Here's the issue Link to the issue ->
https://sonarcloud.io/project/issues?issueStatuses=OPEN%2CCONFIRMED&id=OWASP_Nest&open=AZp_Y416hNsNmhyTltSQ