Thread: pgAdmin 4 commit: Refactor the registry class logic and remove duplicat
Refactor the registry class logic and remove duplicate code for the same functionality. Branch ------ React_Porting Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=100bc504c890b44db21c43733b60669ddef9db7b Author: Ashesh Vashi <ashesh.vashi@enterprisedb.com> Modified Files -------------- web/pgadmin/authenticate/__init__.py | 4 +- web/pgadmin/authenticate/registry.py | 55 +---------- .../sql/tests/test_foreign_key_properties.py | 2 +- web/pgadmin/utils/driver/__init__.py | 23 +---- web/pgadmin/utils/driver/registry.py | 79 +--------------- web/pgadmin/utils/dynamic_registry/__init__.py | 104 +++++++++++++++++++++ .../utils/dynamic_registry/tests/__init__.py | 8 ++ .../dynamic_registry/tests/registry/__init__.py | 99 ++++++++++++++++++++ .../dynamic_registry/tests/registry/registry.py | 38 ++++++++ .../utils/dynamic_registry/tests/registry/test1.py | 15 +++ .../utils/dynamic_registry/tests/registry/test2.py | 14 +++ .../tests/test_dynamic_registry.py | 39 ++++++++ .../python_test_utils/sql_template_test_base.py | 2 +- 13 files changed, 334 insertions(+), 148 deletions(-)