Re: Refactor: Registry Classes

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема Re: Refactor: Registry Classes
Дата
Msg-id CAG7mmoxQfhVhGUC2ArMkCPUoWiBusu-z6=0PR8OiZfOMQpnWwg@mail.gmail.com
обсуждение исходный текст
Ответ на Refactor: Registry Classes  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Ответы Re: Refactor: Registry Classes  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
On Sat, Jun 19, 2021 at 1:39 AM Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
Hi Akshay,

We do have a couple of classes, which does automatic registration of the base classes,
and which creates single-ton objects for these base classes, when needed.

I would be working on a patch sooner, which will be using similar functionality for loading
the multi-factor authentication.

I realized - it will be a duplicate code at three places for the same functionalities.
Hence - I worked on refactoring this registry class.

Please find the patch for the same. 
Found issues - some test files were using the old function 'Driver.load_drivers(...)'.
They're fixed now.

-- Thanks, Ashesh

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: Refactor: Registry Classes
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: Re: [pgAdmin][RM6130] React based framework for properties dialog and port Server Group, Server and Database dialogs