From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers(at)lists(dot)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Refactor the registry class logic and remove duplicat |
Date: | 2021-06-24 06:00:22 |
Message-ID: | E1lwIPW-0003q5-Pg@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Refactor the registry class logic and remove duplicate code for the same functionality.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9574f43f87ebb64f00e5c209d877cac529aa525f
Author: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2021-06-24 06:00:59 | Re: Refactor: Registry Classes |
Previous Message | Ashesh Vashi | 2021-06-23 14:24:32 | Re: Refactor: Registry Classes |