blob: 754ddab8b4f0bddda8aa64ed653d996709f5b527 [file] [log] [blame]
:mod:`airflow.providers.microsoft.azure.operators.adls_delete`
==============================================================
.. py:module:: airflow.providers.microsoft.azure.operators.adls_delete
Module Contents
---------------
.. py:class:: AzureDataLakeStorageDeleteOperator(*, path: str, recursive: bool = False, ignore_not_found: bool = True, azure_data_lake_conn_id: str = 'azure_data_lake_default', **kwargs)
Bases: :class:`airflow.models.BaseOperator`
Delete files in the specified path.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:AzureDataLakeStorageDeleteOperator`
:param path: A directory or file to remove
:type path: str
:param recursive: Whether to loop into directories in the location and remove the files
:type recursive: bool
:param ignore_not_found: Whether to raise error if file to delete is not found
:type ignore_not_found: bool
:param azure_data_lake_conn_id: Reference to the :ref:`Azure Data Lake connection<howto/connection:adl>`.
:type azure_data_lake_conn_id: str
.. attribute:: template_fields
:annotation: :Sequence[str] = ['path']
.. attribute:: ui_color
:annotation: = #901dd2
.. method:: execute(self, context: dict)