apache-airflow-providers-microsoft-azure 10.2.0rc1__py3-none-any.whl → 10.3.0rc1__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__ = "10.2.0"
32
+ __version__ = "10.3.0"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.7.0"
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Microsoft Azure",
29
29
  "description": "`Microsoft Azure <https://azure.microsoft.com/>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1720503933,
31
+ "source-date-epoch": 1722664136,
32
32
  "versions": [
33
+ "10.3.0",
33
34
  "10.2.0",
34
35
  "10.1.2",
35
36
  "10.1.1",
@@ -108,7 +109,7 @@ def get_provider_info():
108
109
  "azure-kusto-data>=4.1.0",
109
110
  "azure-mgmt-datafactory>=2.0.0",
110
111
  "azure-mgmt-containerregistry>=8.0.0",
111
- "azure-mgmt-containerinstance>=9.0.0",
112
+ "azure-mgmt-containerinstance>=10.1.0",
112
113
  "msgraph-core>=1.0.0",
113
114
  ],
114
115
  "devel-dependencies": ["pywinrm"],
@@ -94,6 +94,7 @@ class AzureContainerInstancesOperator(BaseOperator):
94
94
  :param subnet_ids: The subnet resource IDs for a container group
95
95
  :param dns_config: The DNS configuration for a container group.
96
96
  :param diagnostics: Container group diagnostic information (Log Analytics).
97
+ :param priority: Container group priority, Possible values include: 'Regular', 'Spot'
97
98
 
98
99
  **Example**::
99
100
 
@@ -129,6 +130,7 @@ class AzureContainerInstancesOperator(BaseOperator):
129
130
  "workspaceKey": "workspaceKey",
130
131
  }
131
132
  },
133
+ priority="Regular",
132
134
  command=["/bin/echo", "world"],
133
135
  task_id="start_container",
134
136
  )
@@ -163,6 +165,7 @@ class AzureContainerInstancesOperator(BaseOperator):
163
165
  subnet_ids: list[ContainerGroupSubnetId] | None = None,
164
166
  dns_config: DnsConfiguration | None = None,
165
167
  diagnostics: ContainerGroupDiagnostics | None = None,
168
+ priority: str | None = "Regular",
166
169
  **kwargs,
167
170
  ) -> None:
168
171
  super().__init__(**kwargs)
@@ -203,6 +206,13 @@ class AzureContainerInstancesOperator(BaseOperator):
203
206
  self.subnet_ids = subnet_ids
204
207
  self.dns_config = dns_config
205
208
  self.diagnostics = diagnostics
209
+ self.priority = priority
210
+ if self.priority not in ["Regular", "Spot"]:
211
+ raise AirflowException(
212
+ "Invalid value for the priority argument. "
213
+ "Please set 'Regular' or 'Spot' as the priority. "
214
+ f"Found `{self.priority}`."
215
+ )
206
216
 
207
217
  def execute(self, context: Context) -> int:
208
218
  # Check name again in case it was templated.
@@ -278,6 +288,7 @@ class AzureContainerInstancesOperator(BaseOperator):
278
288
  subnet_ids=self.subnet_ids,
279
289
  dns_config=self.dns_config,
280
290
  diagnostics=self.diagnostics,
291
+ priority=self.priority,
281
292
  )
282
293
 
283
294
  self._ci_hook.create_or_update(self.resource_group, self.name, container_group)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-microsoft-azure
3
- Version: 10.2.0rc1
3
+ Version: 10.3.0rc1
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>
@@ -30,7 +30,7 @@ Requires-Dist: azure-datalake-store>=0.0.45
30
30
  Requires-Dist: azure-identity>=1.3.1
31
31
  Requires-Dist: azure-keyvault-secrets>=4.1.0
32
32
  Requires-Dist: azure-kusto-data>=4.1.0
33
- Requires-Dist: azure-mgmt-containerinstance>=9.0.0
33
+ Requires-Dist: azure-mgmt-containerinstance>=10.1.0
34
34
  Requires-Dist: azure-mgmt-containerregistry>=8.0.0
35
35
  Requires-Dist: azure-mgmt-cosmosdb>=3.0.0
36
36
  Requires-Dist: azure-mgmt-datafactory>=2.0.0
@@ -49,8 +49,8 @@ Requires-Dist: apache-airflow-providers-google ; extra == "google"
49
49
  Requires-Dist: apache-airflow-providers-oracle ; extra == "oracle"
50
50
  Requires-Dist: apache-airflow-providers-sftp ; extra == "sftp"
51
51
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
52
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.2.0/changelog.html
53
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.2.0
52
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.3.0/changelog.html
53
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.3.0
54
54
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
55
55
  Project-URL: Source Code, https://github.com/apache/airflow
56
56
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -104,7 +104,7 @@ Provides-Extra: sftp
104
104
 
105
105
  Package ``apache-airflow-providers-microsoft-azure``
106
106
 
107
- Release: ``10.2.0.rc1``
107
+ Release: ``10.3.0.rc1``
108
108
 
109
109
 
110
110
  `Microsoft Azure <https://azure.microsoft.com/>`__
@@ -117,7 +117,7 @@ This is a provider package for ``microsoft.azure`` provider. All classes for thi
117
117
  are in ``airflow.providers.microsoft.azure`` python package.
118
118
 
119
119
  You can find package information and changelog for the provider
120
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.2.0/>`_.
120
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.3.0/>`_.
121
121
 
122
122
  Installation
123
123
  ------------
@@ -155,7 +155,7 @@ PIP package Version required
155
155
  ``azure-kusto-data`` ``>=4.1.0``
156
156
  ``azure-mgmt-datafactory`` ``>=2.0.0``
157
157
  ``azure-mgmt-containerregistry`` ``>=8.0.0``
158
- ``azure-mgmt-containerinstance`` ``>=9.0.0``
158
+ ``azure-mgmt-containerinstance`` ``>=10.1.0``
159
159
  ``msgraph-core`` ``>=1.0.0``
160
160
  ================================ ==================
161
161
 
@@ -182,4 +182,4 @@ Dependent package
182
182
  ==================================================================================================== ==========
183
183
 
184
184
  The changelog for the provider package can be found in the
185
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.2.0/changelog.html>`_.
185
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/10.3.0/changelog.html>`_.
@@ -1,6 +1,6 @@
1
1
  airflow/providers/microsoft/azure/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
2
- airflow/providers/microsoft/azure/__init__.py,sha256=dnxb-LKBKVkGNZ_e_JmUrqDILZcKHmrGx62bRCt3zgE,1503
3
- airflow/providers/microsoft/azure/get_provider_info.py,sha256=OTPnTmuIJnS9MQJAYrSP97rp1bEtQbii04f87lD96e4,20384
2
+ airflow/providers/microsoft/azure/__init__.py,sha256=zsOSb1eyutKmxINa9hvnMaV6v423G6h1nyBGfr7kOoI,1503
3
+ airflow/providers/microsoft/azure/get_provider_info.py,sha256=-XoEwm_7ptV7QA4W9Qcn784k8yVKMe9ijHbUYPOIytY,20407
4
4
  airflow/providers/microsoft/azure/utils.py,sha256=pvBiwBKRYMtEnqkQWLTqvhrsCOkMTRiPH97GkIYHUQc,8429
5
5
  airflow/providers/microsoft/azure/fs/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
6
6
  airflow/providers/microsoft/azure/fs/adls.py,sha256=kXZOVulLNfqwJNR0X9MBN23kcYr3dyv8K_0KqAcWvnk,3679
@@ -26,7 +26,7 @@ airflow/providers/microsoft/azure/operators/adls.py,sha256=CSTn9Ukpcs8e5AUEGUM7n
26
26
  airflow/providers/microsoft/azure/operators/adx.py,sha256=2dWB1SUHtjn7WmDIKoOONt0Zll9F5n3JJSY2GmNUgRw,3407
27
27
  airflow/providers/microsoft/azure/operators/asb.py,sha256=T4p_eOvfjIAW4Qvrvqb8TWLtU3NZc6ncr6SasUT-Xao,29465
28
28
  airflow/providers/microsoft/azure/operators/batch.py,sha256=BxhI8H9vzCtvPZo7bjQtNirRAlRCOyo8UK2D7GZCJkk,16538
29
- airflow/providers/microsoft/azure/operators/container_instances.py,sha256=i3347sFzUz2lZw80YBxKKoUiaDoQC_H7KmsMYidYyWs,16723
29
+ airflow/providers/microsoft/azure/operators/container_instances.py,sha256=yULM-QSx7qgk8MZWjH9na0Z9NZ-jDZNlyv87Kqty3OM,17234
30
30
  airflow/providers/microsoft/azure/operators/cosmos.py,sha256=EyQQOhQmb0S1N32HrBKagjlij3lkoEPF4LZJ3SRZjHg,2787
31
31
  airflow/providers/microsoft/azure/operators/data_factory.py,sha256=TrPMXlOAY3VHVeoysqJnq-ugBC_H53cKKSGfJfu9Dno,12441
32
32
  airflow/providers/microsoft/azure/operators/msgraph.py,sha256=2xDEdg_2ASVp8fsAXWWpaV5N2qhqq42K17-h78ph2EE,11219
@@ -50,7 +50,7 @@ airflow/providers/microsoft/azure/triggers/__init__.py,sha256=9hdXHABrVpkbpjZgUf
50
50
  airflow/providers/microsoft/azure/triggers/data_factory.py,sha256=UjSvsvN6bh0BZMw8QXr8f_67yETh6AymJpKJ7stCk4s,11138
51
51
  airflow/providers/microsoft/azure/triggers/msgraph.py,sha256=iEBE-wsIc7mHBGrxcp1H-8NqIvdZUd2SsqKBoy3J6nE,8675
52
52
  airflow/providers/microsoft/azure/triggers/wasb.py,sha256=PkCoOGGNpqOukIeHtgBGrCRPWn4aAOXA6eOOnobzVNw,7429
53
- apache_airflow_providers_microsoft_azure-10.2.0rc1.dist-info/entry_points.txt,sha256=6iWHenOoUC3YZBb3OKn6g0HlJsV58Ba56i8USmQrcJI,111
54
- apache_airflow_providers_microsoft_azure-10.2.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
55
- apache_airflow_providers_microsoft_azure-10.2.0rc1.dist-info/METADATA,sha256=x0fuKPMh7-RrnjoKoVYKD9DtAz8IvmWkvvn_Ou2OpFw,8485
56
- apache_airflow_providers_microsoft_azure-10.2.0rc1.dist-info/RECORD,,
53
+ apache_airflow_providers_microsoft_azure-10.3.0rc1.dist-info/entry_points.txt,sha256=6iWHenOoUC3YZBb3OKn6g0HlJsV58Ba56i8USmQrcJI,111
54
+ apache_airflow_providers_microsoft_azure-10.3.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
55
+ apache_airflow_providers_microsoft_azure-10.3.0rc1.dist-info/METADATA,sha256=qs0K1YPj7AL8DsF6KhAwpR6c44C5MT_D8M2x2eckESc,8487
56
+ apache_airflow_providers_microsoft_azure-10.3.0rc1.dist-info/RECORD,,