Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

import airflow.hooks.base_hook is deprecated #80

Open
ahurducas opened this issue Jul 7, 2023 · 0 comments
Open

import airflow.hooks.base_hook is deprecated #80

ahurducas opened this issue Jul 7, 2023 · 0 comments

Comments

@ahurducas
Copy link

/lib/python3.9/site-packages/airflow_dbt/hooks/dbt_hook.py:7 DeprecationWarning: The airflow.hooks.base_hook.BaseHook class is deprecated. Please use 'airflow.hooks.base.BaseHook'.
/lib/python3.9/site-packages/airflow_dbt/operators/init.py:1 RemovedInAirflow3Warning: This decorator is deprecated.

In previous versions, all subclasses of BaseOperator must use apply_default decorator for the default_args feature to work properly.

In current version, it is optional. The decorator is applied automatically using the metaclass.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant