Fixed cognitive complexity issues reported by SonarQube.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0013a3b047f7a4c77c29ad1ee7083b5bc120e17c
Author: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>
Modified Files
--------------
.../servers/databases/schemas/tables/__init__.py | 137 ++--
.../databases/schemas/tables/indexes/__init__.py | 7 +-
.../servers/databases/schemas/tables/utils.py | 868 ++++++++++++---------
3 files changed, 567 insertions(+), 445 deletions(-)