airflow.providers.microsoft.azure.transfers.local_to_wasb¶
Module Contents¶
Classes¶
| Uploads a file to Azure Blob Storage. | 
- class airflow.providers.microsoft.azure.transfers.local_to_wasb.LocalFilesystemToWasbOperator(*, file_path, container_name, blob_name, wasb_conn_id='wasb_default', create_container=False, load_options=None, **kwargs)[source]¶
- Bases: - airflow.models.BaseOperator- Uploads a file to Azure Blob Storage. - Parameters
- file_path (str) – Path to the file to load. (templated) 
- 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. 
- create_container (bool) – Attempt to create the target container prior to uploading the blob. This is useful if the target container may not exist yet. Defaults to False. 
- load_options (dict | None) – Optional keyword arguments that WasbHook.load_file() takes. 
 
 
