Fixed cognitive complexity issues reported by SonarQube. Branch ------ master
Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8129df42da8a355a89f2c7213389d469eeac5a90 Author: Aditya Toshniwal <aditya.toshni...@enterprisedb.com> Modified Files -------------- .../servers/pgagent/schedules/__init__.py | 16 +-- .../servers/pgagent/steps/__init__.py | 81 ++++++------ web/pgadmin/dashboard/__init__.py | 51 +++----- web/pgadmin/setup/user_info.py | 97 +++++++------- web/pgadmin/utils/preferences.py | 142 +++++++++------------ 5 files changed, 175 insertions(+), 212 deletions(-)