You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (JIRA)" <ji...@apache.org> on 2019/01/04 09:12:00 UTC

[jira] [Assigned] (AIRFLOW-3629) Not implemented methods in Base Hook

     [ https://issues.apache.org/jira/browse/AIRFLOW-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk reassigned AIRFLOW-3629:
-------------------------------------

    Assignee: Jarek Potiuk

> Not implemented methods in Base Hook
> ------------------------------------
>
>                 Key: AIRFLOW-3629
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3629
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Jarek Potiuk
>            Assignee: Jarek Potiuk
>            Priority: Major
>
> There are four not implemented methods in Base Hook:
>  * get_conn()
>  * get_records()
>  * get_pandas_df()
>  * run(sql)
> They are clearly DB API related but they are in Base Hook and then IDE's/static analysis produces annoying "Abstract Class" warning about all the hooks which do not implement those methods. - it seem that we need another separate abstract class that the DB API-related hooks will derive from.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)