Module Contents

class*, container_name: str, blob_name: str, wasb_conn_id: str = 'wasb_default', check_options: Any = None, is_prefix: bool = False, ignore_if_missing: bool = False, **kwargs)[source]

Bases: airflow.models.BaseOperator

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: dict)[source]

Was this entry helpful?