Fixed cognitive complexity issues reported by SonarQube.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=19491d79a51fcc8579ad4ee01b78300657abdeea
Author: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>
Modified Files
--------------
.../foreign_servers/__init__.py | 121 +++++++++++++--------
web/pgadmin/misc/bgprocess/processes.py | 80 +++++++++-----
web/pgadmin/tools/schema_diff/directory_compare.py | 55 ++++++++--
web/pgadmin/tools/sqleditor/__init__.py | 119 +++++++++++++-------
4 files changed, 248 insertions(+), 127 deletions(-)