YuriyKrasilnikov commented on PR #37371:
URL: https://github.com/apache/superset/pull/37371#issuecomment-3813949880

   ## Fixed in 81e9859859
   
   ### ruff C901: Function too complex
   
   **Problem:** `_orderby_whitelist_compare` had cyclomatic complexity 12 (max 
10).
   
   **Fix:** Extracted helper function `_validate_orderby_list` to handle 
orderby validation logic, reducing complexity of the main function.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to