airflow.providers.microsoft.azure.operators.adls_delete

Module Contents

class airflow.providers.microsoft.azure.operators.adls_delete.AzureDataLakeStorageDeleteOperator(*, path: str, recursive: bool = False, ignore_not_found: bool = True, azure_data_lake_conn_id: str = 'azure_data_lake_default', **kwargs)[source]

Bases: airflow.models.BaseOperator

Delete files in the specified path.

See also

For more information on how to use this operator, take a look at the guide: AzureDataLakeStorageDeleteOperator

Parameters
  • path (str) -- A directory or file to remove

  • recursive (bool) -- Whether to loop into directories in the location and remove the files

  • ignore_not_found (bool) -- Whether to raise error if file to delete is not found

template_fields :Sequence[str] = ['path'][source]
ui_color = #901dd2[source]
execute(self, context: dict)[source]

Was this entry helpful?