Attached patch reduces the cognitive complexity of functions for below: web/.../schemas/packages/edbfuncs/__init__.py 21 to 15 web/.../databases/schemas/types/__init__.py 39 to 15; 80 to 15 web/.../server_groups/servers/pgagent/__init__.py 39 to 15 web/pgadmin/misc/bgprocess/process_executor.py 19 to 15 web/pgadmin/tools/backup/__init__.py 54 to 15