Re: [DISCUSS] What we should do with DbApiHook.get_uri?

2023-09-19 Thread Daniel Standish
Yeah I think your proposal seems reasonable. Airflow conn URI is not same thing as sqlalchemy URI. That worked for some simple circumstances but it is definitely not true in general. Hooks that need it should generally implement it. On Tue, Sep 19, 2023 at 10:51 AM Andrey Anshin wrote: >

[DISCUSS] What we should do with DbApiHook.get_uri?

2023-09-19 Thread Andrey Anshin
Historically before `DbApiHook` was introduced some "DB-API 2" Hooks (I put in quotes because not all properly implements this API), implements this method in each hook separately, and some of them are not implemented at all. Everything changed since DbApiHook introduced and now 23 Community