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

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


The following commit(s) were added to refs/heads/main by this push:
     new ae67a142b8 Remove `LocalToAzureDataLakeStorageOperator` class (#34035)
ae67a142b8 is described below

commit ae67a142b854435804c7e3e0bdd199ea979277c5
Author: Elad Kalif <[email protected]>
AuthorDate: Sat Sep 2 15:45:40 2023 +0300

    Remove `LocalToAzureDataLakeStorageOperator` class (#34035)
---
 airflow/providers/microsoft/azure/CHANGELOG.rst    |  3 +++
 .../microsoft/azure/transfers/local_to_adls.py     | 22 +---------------------
 2 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/airflow/providers/microsoft/azure/CHANGELOG.rst 
b/airflow/providers/microsoft/azure/CHANGELOG.rst
index ea8001ff59..728cb7dfb2 100644
--- a/airflow/providers/microsoft/azure/CHANGELOG.rst
+++ b/airflow/providers/microsoft/azure/CHANGELOG.rst
@@ -50,6 +50,9 @@ Breaking changes
 * Remove AzureFileShareHook.check_for_file method
 * Remove AzureFileShareHook.load_string, AzureFileShareHook.load_stream in 
favor of AzureFileShareHook.load_data
 
+.. note::
+  ``LocalToAzureDataLakeStorageOperator`` class has been removed in favor of 
``LocalFilesystemToADLSOperator``
+
 6.3.0
 .....
 
diff --git a/airflow/providers/microsoft/azure/transfers/local_to_adls.py 
b/airflow/providers/microsoft/azure/transfers/local_to_adls.py
index dc65857c7c..032742fc64 100644
--- a/airflow/providers/microsoft/azure/transfers/local_to_adls.py
+++ b/airflow/providers/microsoft/azure/transfers/local_to_adls.py
@@ -16,10 +16,9 @@
 # under the License.
 from __future__ import annotations
 
-import warnings
 from typing import TYPE_CHECKING, Any, Sequence
 
-from airflow.exceptions import AirflowException, 
AirflowProviderDeprecationWarning
+from airflow.exceptions import AirflowException
 from airflow.models import BaseOperator
 from airflow.providers.microsoft.azure.hooks.data_lake import AzureDataLakeHook
 
@@ -97,22 +96,3 @@ class LocalFilesystemToADLSOperator(BaseOperator):
             blocksize=self.blocksize,
             **self.extra_upload_options,
         )
-
-
-class LocalToAzureDataLakeStorageOperator(LocalFilesystemToADLSOperator):
-    """
-    This class is deprecated.
-
-    Please use
-    
:class:`airflow.providers.microsoft.azure.transfers.local_to_adls.LocalFilesystemToADLSOperator`.
-    """
-
-    def __init__(self, *args, **kwargs):
-        warnings.warn(
-            """This class is deprecated.
-            Please use
-            
`airflow.providers.microsoft.azure.transfers.local_to_adls.LocalFilesystemToADLSOperator`.""",
-            AirflowProviderDeprecationWarning,
-            stacklevel=3,
-        )
-        super().__init__(*args, **kwargs)

Reply via email to