blob: 0a6059544588fd66a7334bbdbb25836e680a178b [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
.. attribute:: template_fields
:annotation: :Sequence[str] = ['path']
.. attribute:: ui_color
:annotation: = #901dd2
.. method:: execute(self, context: dict)