Fixed cognitive complexity issues reported by SonarQube.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e8b81db9778e89203734fe3b80578c47ff8f379e
Author: Rahul Shirsat <rahul(dot)shirsat(at)enterprisedb(dot)com>
Modified Files
--------------
.../browser/server_groups/servers/__init__.py | 82 +++++++++++++---------
.../servers/databases/event_triggers/__init__.py | 59 +++++++++-------
2 files changed, 80 insertions(+), 61 deletions(-)