You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/03/02 23:22:09 UTC

[airflow] branch master updated: Remove WARNINGs from BeamHook (#14554)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e57630  Remove WARNINGs from BeamHook (#14554)
4e57630 is described below

commit 4e5763060683456405ab6173cdee1f2facc231e5
Author: Xinbin Huang <bi...@gmail.com>
AuthorDate: Tue Mar 2 15:21:59 2021 -0800

    Remove WARNINGs from BeamHook (#14554)
---
 airflow/providers/apache/beam/hooks/beam.py | 2 +-
 airflow/providers/apache/beam/provider.yaml | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/airflow/providers/apache/beam/hooks/beam.py b/airflow/providers/apache/beam/hooks/beam.py
index 8e188b0..2436210 100644
--- a/airflow/providers/apache/beam/hooks/beam.py
+++ b/airflow/providers/apache/beam/hooks/beam.py
@@ -25,7 +25,7 @@ from tempfile import TemporaryDirectory
 from typing import Callable, List, Optional
 
 from airflow.exceptions import AirflowException
-from airflow.hooks.base_hook import BaseHook
+from airflow.hooks.base import BaseHook
 from airflow.utils.log.logging_mixin import LoggingMixin
 from airflow.utils.python_virtualenv import prepare_virtualenv
 
diff --git a/airflow/providers/apache/beam/provider.yaml b/airflow/providers/apache/beam/provider.yaml
index ff7997f..8634f89 100644
--- a/airflow/providers/apache/beam/provider.yaml
+++ b/airflow/providers/apache/beam/provider.yaml
@@ -41,6 +41,3 @@ hooks:
   - integration-name: Apache Beam
     python-modules:
       - airflow.providers.apache.beam.hooks.beam
-
-hook-class-names:
-  - airflow.providers.apache.beam.hooks.beam.BeamHook