apache-airflow-providers-microsoft-azure 12.6.0rc1__py3-none-any.whl → 12.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "12.6.0"
32
+ __version__ = "12.6.1"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.10.0"
@@ -353,7 +353,7 @@ class AdminClientHook(BaseAzureServiceBusHook):
353
353
  lock_duration=lock_duration,
354
354
  requires_session=requires_session,
355
355
  default_message_time_to_live=default_message_time_to_live,
356
- dead_lettering_on_ßmessage_expiration=dead_lettering_on_message_expiration,
356
+ dead_lettering_on_message_expiration=dead_lettering_on_message_expiration,
357
357
  dead_lettering_on_filter_evaluation_exceptions=dead_lettering_on_filter_evaluation_exceptions,
358
358
  max_delivery_count=max_delivery_count,
359
359
  enable_batched_operations=enable_batched_operations,
@@ -56,6 +56,7 @@ from airflow.providers.microsoft.azure.version_compat import BaseHook
56
56
 
57
57
  if TYPE_CHECKING:
58
58
  from azure.core.credentials import TokenCredential
59
+ from azure.core.credentials_async import AsyncTokenCredential
59
60
  from azure.storage.blob._models import BlobProperties
60
61
  from azure.storage.blob.aio._list_blobs_helper import BlobPrefix
61
62
 
@@ -614,8 +615,9 @@ class WasbAsyncHook(WasbHook):
614
615
  tenant = self._get_field(extra, "tenant_id")
615
616
  if tenant:
616
617
  # use Active Directory auth
617
- app_id = conn.login
618
- app_secret = conn.password
618
+ app_id = conn.login or ""
619
+ app_secret = conn.password or ""
620
+
619
621
  token_credential = AsyncClientSecretCredential(
620
622
  tenant, app_id, app_secret, **client_secret_auth_config
621
623
  )
@@ -652,6 +654,7 @@ class WasbAsyncHook(WasbHook):
652
654
  return self.blob_service_client
653
655
 
654
656
  # Fall back to old auth (password) or use managed identity if not provided.
657
+ credential: str | AsyncTokenCredential | None
655
658
  credential = conn.password
656
659
  if not credential:
657
660
  # Check for account_key in extra fields before falling back to DefaultAzureCredential
@@ -681,6 +684,9 @@ class WasbAsyncHook(WasbHook):
681
684
  :param container_name: the name of the blob container
682
685
  :param blob_name: the name of the blob. This needs not be existing
683
686
  """
687
+ if self.blob_service_client is None:
688
+ raise AirflowException("BlobServiceClient is not initialized")
689
+
684
690
  return self.blob_service_client.get_blob_client(container=container_name, blob=blob_name)
685
691
 
686
692
  async def check_for_blob_async(self, container_name: str, blob_name: str, **kwargs: Any) -> bool:
@@ -704,6 +710,9 @@ class WasbAsyncHook(WasbHook):
704
710
 
705
711
  :param container_name: the name of the container
706
712
  """
713
+ if self.blob_service_client is None:
714
+ raise AirflowException("BlobServiceClient is not initialized")
715
+
707
716
  return self.blob_service_client.get_container_client(container_name)
708
717
 
709
718
  async def get_blobs_list_async(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-microsoft-azure
3
- Version: 12.6.0rc1
3
+ Version: 12.6.1
4
4
  Summary: Provider package apache-airflow-providers-microsoft-azure for Apache Airflow
5
5
  Keywords: airflow-provider,microsoft.azure,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -20,7 +20,7 @@ Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=2.10.0rc1
23
+ Requires-Dist: apache-airflow>=2.10.0
24
24
  Requires-Dist: adlfs>=2023.10.0
25
25
  Requires-Dist: azure-batch>=8.0.0
26
26
  Requires-Dist: azure-cosmos>=4.6.0
@@ -56,8 +56,8 @@ Requires-Dist: apache-airflow-providers-common-compat ; extra == "common-compat"
56
56
  Requires-Dist: apache-airflow-providers-oracle ; extra == "oracle"
57
57
  Requires-Dist: apache-airflow-providers-sftp ; extra == "sftp"
58
58
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
59
- Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.0/changelog.html
60
- Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.0
59
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.1/changelog.html
60
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.1
61
61
  Project-URL: Mastodon, https://fosstodon.org/@airflow
62
62
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
63
63
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -92,7 +92,7 @@ Provides-Extra: sftp
92
92
 
93
93
  Package ``apache-airflow-providers-microsoft-azure``
94
94
 
95
- Release: ``12.6.0``
95
+ Release: ``12.6.1``
96
96
 
97
97
  Release Date: ``|PypiReleaseDate|``
98
98
 
@@ -106,7 +106,7 @@ This is a provider package for ``microsoft.azure`` provider. All classes for thi
106
106
  are in ``airflow.providers.microsoft.azure`` python package.
107
107
 
108
108
  You can find package information and changelog for the provider
109
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.0/>`_.
109
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.1/>`_.
110
110
 
111
111
  Installation
112
112
  ------------
@@ -179,5 +179,5 @@ Dependent package
179
179
  ================================================================================================================== =================
180
180
 
181
181
  The changelog for the provider package can be found in the
182
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.0/changelog.html>`_.
182
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.6.1/changelog.html>`_.
183
183
 
@@ -1,5 +1,5 @@
1
1
  airflow/providers/microsoft/azure/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
2
- airflow/providers/microsoft/azure/__init__.py,sha256=geDknD-DKADPmpVqCNJttFFp5iNupi2beaKacdWyfns,1505
2
+ airflow/providers/microsoft/azure/__init__.py,sha256=1Q8KMcBHUsa-0RLQjg3JqcmUh5Woo5iVbEl52L7oAO8,1505
3
3
  airflow/providers/microsoft/azure/get_provider_info.py,sha256=AeIwe8L-5p1z7IVF9Yc_mmQyAe149r6YVCyRpjfc3u0,18946
4
4
  airflow/providers/microsoft/azure/utils.py,sha256=KU9vHQRUhqTbC30GvmuZbL8rPBAziemM1oaT4rZp6K8,9015
5
5
  airflow/providers/microsoft/azure/version_compat.py,sha256=pBBF2QxTvpmUMxTE4MfbLfZmydT8FgSxiMMYLAsTTIo,2388
@@ -7,7 +7,7 @@ airflow/providers/microsoft/azure/fs/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOF
7
7
  airflow/providers/microsoft/azure/fs/adls.py,sha256=1La15shfckTX6tem3O34Gdneyd0TXFlFwABqIRHUd1A,3937
8
8
  airflow/providers/microsoft/azure/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
9
9
  airflow/providers/microsoft/azure/hooks/adx.py,sha256=NoPbs-CWbNH-AxvqtF3cKdV0-YFr9AlqCh2qg-DuSKw,9677
10
- airflow/providers/microsoft/azure/hooks/asb.py,sha256=OsCvRP7uMEi7xl_meS09ts7q9E7yjF_Unq5ylki96as,30733
10
+ airflow/providers/microsoft/azure/hooks/asb.py,sha256=ED3IsvtKLBigHyhNCO5qCkY5Kj8I8OOUSBSO9bOXyBU,30731
11
11
  airflow/providers/microsoft/azure/hooks/base_azure.py,sha256=urqIC8fWdmo8fPoD1MuVZLRyb9ynHGi7sOY1iBc-25g,5413
12
12
  airflow/providers/microsoft/azure/hooks/batch.py,sha256=VZT5cXQOCEN64O5vWqlLAFc3hx4lK2OZ9nPpfER4nPc,16078
13
13
  airflow/providers/microsoft/azure/hooks/container_instance.py,sha256=0MrPLk06mg3Jm18VlteCAse_agK8ysK9dUDjbdRL66Q,7201
@@ -20,7 +20,7 @@ airflow/providers/microsoft/azure/hooks/fileshare.py,sha256=x8hXYHE6qUjJDTa1qp47
20
20
  airflow/providers/microsoft/azure/hooks/msgraph.py,sha256=W7tASxPQnBQciIOYZi2hQo0-QtemMO_YTUCkkfH2pDk,21159
21
21
  airflow/providers/microsoft/azure/hooks/powerbi.py,sha256=_Z-PWDcZxwSmyP9uXBEEYNRrSIlGPFVUtDrtVk3KKxE,9778
22
22
  airflow/providers/microsoft/azure/hooks/synapse.py,sha256=PC7whM9SOuc29hu9mU1DOvi5xmevGLS9Gadql2u0KYM,16077
23
- airflow/providers/microsoft/azure/hooks/wasb.py,sha256=4rVsIbu6t782G-_lzkM3Ddig5iE5pP_72eZEqNCZC-A,31620
23
+ airflow/providers/microsoft/azure/hooks/wasb.py,sha256=EJhGrTGvzabZh72g3LjjKscpt9_jX51rJPczyWuFolY,31995
24
24
  airflow/providers/microsoft/azure/log/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
25
25
  airflow/providers/microsoft/azure/log/wasb_task_handler.py,sha256=s0BCDf7fritIvuwznFJTUEE03GqfecKy-stf1niWr3o,9926
26
26
  airflow/providers/microsoft/azure/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
@@ -53,7 +53,7 @@ airflow/providers/microsoft/azure/triggers/data_factory.py,sha256=U3vY_pj4yORxE7
53
53
  airflow/providers/microsoft/azure/triggers/msgraph.py,sha256=l7A50JoBebiKhhsxILtLvuoulyIn59BVdjTvdAezdpk,8704
54
54
  airflow/providers/microsoft/azure/triggers/powerbi.py,sha256=TD2VYR3yj8JwRMR6QpqWM_KuBsS9qbghqV_2aBKjCus,15798
55
55
  airflow/providers/microsoft/azure/triggers/wasb.py,sha256=RF-C6iqDEs6_pWireCWZXqxcqWK-sFJ695Okdd_EJOA,7456
56
- apache_airflow_providers_microsoft_azure-12.6.0rc1.dist-info/entry_points.txt,sha256=6iWHenOoUC3YZBb3OKn6g0HlJsV58Ba56i8USmQrcJI,111
57
- apache_airflow_providers_microsoft_azure-12.6.0rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
58
- apache_airflow_providers_microsoft_azure-12.6.0rc1.dist-info/METADATA,sha256=kAr9nQo0IytHJj7FXnxECPdp4fAyK5q0OKfmfngPamM,8883
59
- apache_airflow_providers_microsoft_azure-12.6.0rc1.dist-info/RECORD,,
56
+ apache_airflow_providers_microsoft_azure-12.6.1.dist-info/entry_points.txt,sha256=6iWHenOoUC3YZBb3OKn6g0HlJsV58Ba56i8USmQrcJI,111
57
+ apache_airflow_providers_microsoft_azure-12.6.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
58
+ apache_airflow_providers_microsoft_azure-12.6.1.dist-info/METADATA,sha256=2p8_6jS9mhDZkUKi8j3gRguMk2rNQUjmOa7cdU5dv3Q,8863
59
+ apache_airflow_providers_microsoft_azure-12.6.1.dist-info/RECORD,,