CDD-3173: add the base code for the DB permission filtering of privat… #3201
SonarQubeCloud / SonarCloud Code Analysis
succeeded
May 20, 2026 in 43s
Quality Gate passed
Annotations
Check warning on line 212 in metrics/utils/permissions.py
sonarqubecloud / SonarCloud Code Analysis
Either merge this branch with the identical one on line "207" or change one of the implementations.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ5FWtAOcwwgXmhS79Pp&open=AZ5FWtAOcwwgXmhS79Pp&pullRequest=3201
Check warning on line 341 in metrics/data/managers/core_models/headline.py
sonarqubecloud / SonarCloud Code Analysis
Method "query_for_data" has 14 parameters, which is greater than the 13 authorized.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ5EnP_k7oQN5WJKIM58&open=AZ5EnP_k7oQN5WJKIM58&pullRequest=3201
Check failure on line 49 in metrics/utils/permissions.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=UKHSA-Internal_winter-pressures-api&issues=AZ5FWtAOcwwgXmhS79Po&open=AZ5FWtAOcwwgXmhS79Po&pullRequest=3201
Loading