Module Contents

class airflow.contrib.operators.wasb_delete_blob_operator.WasbDeleteBlobOperator(container_name, blob_name, wasb_conn_id='wasb_default', check_options=None, is_prefix=False, ignore_if_missing=False, *args, **kwargs)[source]


Deletes blob(s) on Azure Blob Storage.

  • container_name (str) – Name of the container. (templated)

  • blob_name (str) – Name of the blob. (templated)

  • wasb_conn_id (str) – Reference to the wasb connection.

  • check_options – Optional keyword arguments that WasbHook.check_for_blob() takes.

  • is_prefix (bool) – If blob_name is a prefix, delete all files matching prefix.

  • ignore_if_missing (bool) – if True, then return success even if the blob does not exist.

template_fields = ['container_name', 'blob_name'][source]
execute(self, context)[source]