apache-airflow-providers-zendesk 4.3.1__py3-none-any.whl → 4.3.2__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.
@@ -28,14 +28,16 @@ import packaging.version
28
28
 
29
29
  __all__ = ["__version__"]
30
30
 
31
- __version__ = "4.3.1"
31
+ __version__ = "4.3.2"
32
32
 
33
33
  try:
34
34
  from airflow import __version__ as airflow_version
35
35
  except ImportError:
36
36
  from airflow.version import version as airflow_version
37
37
 
38
- if packaging.version.parse(airflow_version) < packaging.version.parse("2.4.0"):
38
+ if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
39
+ "2.4.0"
40
+ ):
39
41
  raise RuntimeError(
40
42
  f"The package `apache-airflow-providers-zendesk:{__version__}` requires Apache Airflow 2.4.0+" # NOQA: E501
41
43
  )
@@ -29,6 +29,7 @@ def get_provider_info():
29
29
  "description": "`Zendesk <https://www.zendesk.com/>`__\n",
30
30
  "suspended": False,
31
31
  "versions": [
32
+ "4.3.2",
32
33
  "4.3.1",
33
34
  "4.3.0",
34
35
  "4.2.0",
@@ -17,13 +17,17 @@
17
17
  # under the License.
18
18
  from __future__ import annotations
19
19
 
20
+ from typing import TYPE_CHECKING
21
+
20
22
  from zenpy import Zenpy
21
- from zenpy.lib.api import BaseApi
22
- from zenpy.lib.api_objects import JobStatus, Ticket, TicketAudit
23
- from zenpy.lib.generator import SearchResultGenerator
24
23
 
25
24
  from airflow.hooks.base import BaseHook
26
25
 
26
+ if TYPE_CHECKING:
27
+ from zenpy.lib.api import BaseApi
28
+ from zenpy.lib.api_objects import JobStatus, Ticket, TicketAudit
29
+ from zenpy.lib.generator import SearchResultGenerator
30
+
27
31
 
28
32
  class ZendeskHook(BaseHook):
29
33
  """
@@ -0,0 +1,111 @@
1
+ Metadata-Version: 2.1
2
+ Name: apache-airflow-providers-zendesk
3
+ Version: 4.3.2
4
+ Summary: Provider for Apache Airflow. Implements apache-airflow-providers-zendesk package
5
+ Home-page: https://airflow.apache.org/
6
+ Download-URL: https://archive.apache.org/dist/airflow/providers
7
+ Author: Apache Software Foundation
8
+ Author-email: dev@airflow.apache.org
9
+ License: Apache License 2.0
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/
11
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html
12
+ Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
13
+ Project-URL: Source Code, https://github.com/apache/airflow
14
+ Project-URL: Slack Chat, https://s.apache.org/airflow-slack
15
+ Project-URL: Twitter, https://twitter.com/ApacheAirflow
16
+ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
17
+ Classifier: Development Status :: 5 - Production/Stable
18
+ Classifier: Environment :: Console
19
+ Classifier: Environment :: Web Environment
20
+ Classifier: Intended Audience :: Developers
21
+ Classifier: Intended Audience :: System Administrators
22
+ Classifier: Framework :: Apache Airflow
23
+ Classifier: Framework :: Apache Airflow :: Provider
24
+ Classifier: License :: OSI Approved :: Apache Software License
25
+ Classifier: Programming Language :: Python :: 3.8
26
+ Classifier: Programming Language :: Python :: 3.9
27
+ Classifier: Programming Language :: Python :: 3.10
28
+ Classifier: Programming Language :: Python :: 3.11
29
+ Classifier: Topic :: System :: Monitoring
30
+ Requires-Python: ~=3.8
31
+ Description-Content-Type: text/x-rst
32
+ License-File: LICENSE
33
+ License-File: NOTICE
34
+ Requires-Dist: apache-airflow >=2.4.0
35
+ Requires-Dist: zenpy >=2.0.24
36
+
37
+
38
+ .. Licensed to the Apache Software Foundation (ASF) under one
39
+ or more contributor license agreements. See the NOTICE file
40
+ distributed with this work for additional information
41
+ regarding copyright ownership. The ASF licenses this file
42
+ to you under the Apache License, Version 2.0 (the
43
+ "License"); you may not use this file except in compliance
44
+ with the License. You may obtain a copy of the License at
45
+
46
+ .. http://www.apache.org/licenses/LICENSE-2.0
47
+
48
+ .. Unless required by applicable law or agreed to in writing,
49
+ software distributed under the License is distributed on an
50
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
51
+ KIND, either express or implied. See the License for the
52
+ specific language governing permissions and limitations
53
+ under the License.
54
+
55
+ .. Licensed to the Apache Software Foundation (ASF) under one
56
+ or more contributor license agreements. See the NOTICE file
57
+ distributed with this work for additional information
58
+ regarding copyright ownership. The ASF licenses this file
59
+ to you under the Apache License, Version 2.0 (the
60
+ "License"); you may not use this file except in compliance
61
+ with the License. You may obtain a copy of the License at
62
+
63
+ .. http://www.apache.org/licenses/LICENSE-2.0
64
+
65
+ .. Unless required by applicable law or agreed to in writing,
66
+ software distributed under the License is distributed on an
67
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
68
+ KIND, either express or implied. See the License for the
69
+ specific language governing permissions and limitations
70
+ under the License.
71
+
72
+
73
+ Package ``apache-airflow-providers-zendesk``
74
+
75
+ Release: ``4.3.2``
76
+
77
+
78
+ `Zendesk <https://www.zendesk.com/>`__
79
+
80
+
81
+ Provider package
82
+ ----------------
83
+
84
+ This is a provider package for ``zendesk`` provider. All classes for this provider package
85
+ are in ``airflow.providers.zendesk`` python package.
86
+
87
+ You can find package information and changelog for the provider
88
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/>`_.
89
+
90
+
91
+ Installation
92
+ ------------
93
+
94
+ You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
95
+ for the minimum Airflow version supported) via
96
+ ``pip install apache-airflow-providers-zendesk``
97
+
98
+ The package supports the following python versions: 3.8,3.9,3.10,3.11
99
+
100
+ Requirements
101
+ ------------
102
+
103
+ ================== ==================
104
+ PIP package Version required
105
+ ================== ==================
106
+ ``apache-airflow`` ``>=2.4.0``
107
+ ``zenpy`` ``>=2.0.24``
108
+ ================== ==================
109
+
110
+ The changelog for the provider package can be found in the
111
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.2/changelog.html>`_.
@@ -0,0 +1,11 @@
1
+ airflow/providers/zendesk/__init__.py,sha256=knncct_dWwteoceY5ET4aD4J4Db9E49s-yKa07RDZeo,1576
2
+ airflow/providers/zendesk/get_provider_info.py,sha256=R7A2d_mKM8Q6UtSPY2eGJvauq_63-zf_aeEHqNfKPFg,2266
3
+ airflow/providers/zendesk/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
4
+ airflow/providers/zendesk/hooks/zendesk.py,sha256=eM5ypVbzeNLlmMnZPZHxbVNqHWTb2zQz9VDj0-1-qRk,4601
5
+ apache_airflow_providers_zendesk-4.3.2.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
6
+ apache_airflow_providers_zendesk-4.3.2.dist-info/METADATA,sha256=2K442ok7irwOpRF3yzgQGFRXOBXugwYQIyjJntL-wEw,4476
7
+ apache_airflow_providers_zendesk-4.3.2.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
8
+ apache_airflow_providers_zendesk-4.3.2.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
9
+ apache_airflow_providers_zendesk-4.3.2.dist-info/entry_points.txt,sha256=wy74m_XiVALLSyIVIyb5Lpe3qr7NZ_9FP8YQNSq8CfI,104
10
+ apache_airflow_providers_zendesk-4.3.2.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
11
+ apache_airflow_providers_zendesk-4.3.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.40.0)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,297 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: apache-airflow-providers-zendesk
3
- Version: 4.3.1
4
- Summary: Provider for Apache Airflow. Implements apache-airflow-providers-zendesk package
5
- Home-page: https://airflow.apache.org/
6
- Download-URL: https://archive.apache.org/dist/airflow/providers
7
- Author: Apache Software Foundation
8
- Author-email: dev@airflow.apache.org
9
- License: Apache License 2.0
10
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.1/
11
- Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
12
- Project-URL: Source Code, https://github.com/apache/airflow
13
- Project-URL: Slack Chat, https://s.apache.org/airflow-slack
14
- Project-URL: Twitter, https://twitter.com/ApacheAirflow
15
- Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
16
- Classifier: Development Status :: 5 - Production/Stable
17
- Classifier: Environment :: Console
18
- Classifier: Environment :: Web Environment
19
- Classifier: Intended Audience :: Developers
20
- Classifier: Intended Audience :: System Administrators
21
- Classifier: Framework :: Apache Airflow
22
- Classifier: Framework :: Apache Airflow :: Provider
23
- Classifier: License :: OSI Approved :: Apache Software License
24
- Classifier: Programming Language :: Python :: 3.8
25
- Classifier: Programming Language :: Python :: 3.9
26
- Classifier: Programming Language :: Python :: 3.10
27
- Classifier: Programming Language :: Python :: 3.11
28
- Classifier: Topic :: System :: Monitoring
29
- Requires-Python: ~=3.8
30
- Description-Content-Type: text/x-rst
31
- License-File: LICENSE
32
- License-File: NOTICE
33
- Requires-Dist: apache-airflow (>=2.4.0)
34
- Requires-Dist: zenpy (>=2.0.24)
35
-
36
-
37
- .. Licensed to the Apache Software Foundation (ASF) under one
38
- or more contributor license agreements. See the NOTICE file
39
- distributed with this work for additional information
40
- regarding copyright ownership. The ASF licenses this file
41
- to you under the Apache License, Version 2.0 (the
42
- "License"); you may not use this file except in compliance
43
- with the License. You may obtain a copy of the License at
44
-
45
- .. http://www.apache.org/licenses/LICENSE-2.0
46
-
47
- .. Unless required by applicable law or agreed to in writing,
48
- software distributed under the License is distributed on an
49
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
50
- KIND, either express or implied. See the License for the
51
- specific language governing permissions and limitations
52
- under the License.
53
-
54
-
55
- Package ``apache-airflow-providers-zendesk``
56
-
57
- Release: ``4.3.1``
58
-
59
-
60
- `Zendesk <https://www.zendesk.com/>`__
61
-
62
-
63
- Provider package
64
- ----------------
65
-
66
- This is a provider package for ``zendesk`` provider. All classes for this provider package
67
- are in ``airflow.providers.zendesk`` python package.
68
-
69
- You can find package information and changelog for the provider
70
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.3.1/>`_.
71
-
72
-
73
- Installation
74
- ------------
75
-
76
- You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
77
- for the minimum Airflow version supported) via
78
- ``pip install apache-airflow-providers-zendesk``
79
-
80
- The package supports the following python versions: 3.8,3.9,3.10,3.11
81
-
82
- Requirements
83
- ------------
84
-
85
- ================== ==================
86
- PIP package Version required
87
- ================== ==================
88
- ``apache-airflow`` ``>=2.4.0``
89
- ``zenpy`` ``>=2.0.24``
90
- ================== ==================
91
-
92
- .. Licensed to the Apache Software Foundation (ASF) under one
93
- or more contributor license agreements. See the NOTICE file
94
- distributed with this work for additional information
95
- regarding copyright ownership. The ASF licenses this file
96
- to you under the Apache License, Version 2.0 (the
97
- "License"); you may not use this file except in compliance
98
- with the License. You may obtain a copy of the License at
99
-
100
- .. http://www.apache.org/licenses/LICENSE-2.0
101
-
102
- .. Unless required by applicable law or agreed to in writing,
103
- software distributed under the License is distributed on an
104
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
105
- KIND, either express or implied. See the License for the
106
- specific language governing permissions and limitations
107
- under the License.
108
-
109
-
110
- .. NOTE TO CONTRIBUTORS:
111
- Please, only add notes to the Changelog just below the "Changelog" header when there are some breaking changes
112
- and you want to add an explanation to the users on how they are supposed to deal with them.
113
- The changelog is updated and maintained semi-automatically by release manager.
114
-
115
- Changelog
116
- ---------
117
-
118
- 4.3.1
119
- .....
120
-
121
- .. note::
122
- This release dropped support for Python 3.7
123
-
124
- Misc
125
- ~~~~
126
-
127
- * ``Add note about dropping Python 3.7 for providers (#32015)``
128
-
129
- .. Below changes are excluded from the changelog. Move them to
130
- appropriate section above if needed. Do not delete the lines(!):
131
-
132
- 4.3.0
133
- .....
134
-
135
- .. note::
136
- This release of provider is only available for Airflow 2.4+ as explained in the
137
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
138
-
139
- Misc
140
- ~~~~
141
-
142
- * ``Bump minimum Airflow version in providers (#30917)``
143
-
144
- .. Below changes are excluded from the changelog. Move them to
145
- appropriate section above if needed. Do not delete the lines(!):
146
- * ``Add full automation for min Airflow version for providers (#30994)``
147
- * ``Add mechanism to suspend providers (#30422)``
148
- * ``Use '__version__' in providers not 'version' (#31393)``
149
- * ``Fixing circular import error in providers caused by airflow version check (#31379)``
150
- * ``Prepare docs for May 2023 wave of Providers (#31252)``
151
-
152
- 4.2.0
153
- .....
154
-
155
- Features
156
- ~~~~~~~~
157
-
158
- * ``Add Zendesk connection type (#27984)``
159
-
160
- 4.1.0
161
- .....
162
-
163
- .. note::
164
- This release of provider is only available for Airflow 2.3+ as explained in the
165
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
166
-
167
- Misc
168
- ~~~~
169
-
170
- * ``Move min airflow version to 2.3.0 for all providers (#27196)``
171
-
172
- Bug Fixes
173
- ~~~~~~~~~
174
-
175
- * ``fix zendesk change log (#27363)``
176
-
177
- .. Below changes are excluded from the changelog. Move them to
178
- appropriate section above if needed. Do not delete the lines(!):
179
- * ``Add documentation for July 2022 Provider's release (#25030)``
180
- * ``Enable string normalization in python formatting - providers (#27205)``
181
- * ``Update docs for September Provider's release (#26731)``
182
- * ``Apply PEP-563 (Postponed Evaluation of Annotations) to non-core airflow (#26289)``
183
- * ``Prepare docs for new providers release (August 2022) (#25618)``
184
- * ``Move provider dependencies to inside provider folders (#24672)``
185
-
186
- 4.0.0
187
- .....
188
-
189
- Breaking changes
190
- ~~~~~~~~~~~~~~~~
191
-
192
- .. note::
193
- This release of provider is only available for Airflow 2.2+ as explained in the
194
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
195
-
196
- .. Below changes are excluded from the changelog. Move them to
197
- appropriate section above if needed. Do not delete the lines(!):
198
- * ``Add explanatory note for contributors about updating Changelog (#24229)``
199
- * ``Migrate Zendesk example DAGs to new design #22471 (#24129)``
200
- * ``Prepare docs for May 2022 provider's release (#24231)``
201
- * ``Update package description to remove double min-airflow specification (#24292)``
202
-
203
- 3.0.3
204
- .....
205
-
206
- Bug Fixes
207
- ~~~~~~~~~
208
-
209
- * ``Fix mistakenly added install_requires for all providers (#22382)``
210
-
211
- 3.0.2
212
- .....
213
-
214
- Misc
215
- ~~~~~
216
-
217
- * ``Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)``
218
-
219
- 3.0.1
220
- .....
221
-
222
- Misc
223
- ~~~~
224
-
225
- * ``Support for Python 3.10``
226
- * ``Update Zendesk example DAG to use TaskFlow API (#21411)``
227
-
228
- .. Below changes are excluded from the changelog. Move them to
229
- appropriate section above if needed. Do not delete the lines(!):
230
-
231
- 3.0.0
232
- .....
233
-
234
- Misc
235
- ~~~~
236
- ``ZendeskHook`` moved from using ``zdesk`` to ``zenpy`` package.
237
-
238
- Breaking changes
239
- ~~~~~~~~~~~~~~~~
240
- Changed the return type of ``ZendeskHook.get_conn`` to return a ``zenpy.Zenpy`` object instead of a ``zdesk.Zendesk`` object.
241
- Deleted the ``ZendeskHook.call``, alternatively you can use the ``ZendeskHook.get`` method to make custom get calls to Zendesk API.
242
- ``Zendesk`` and ``ZendeskError`` classes are removed from ``airflow.hooks.zendesk_hook`` imports.
243
-
244
- * ``Switch from zdesk to zenpy in ZendeskHook (#21349)``
245
-
246
- .. Below changes are excluded from the changelog. Move them to
247
- appropriate section above if needed. Do not delete the lines(!):
248
- * ``Add documentation for January 2021 providers release (#21257)``
249
- * ``Remove ':type' lines now sphinx-autoapi supports typehints (#20951)``
250
-
251
- 2.0.1
252
- .....
253
-
254
- Misc
255
- ~~~~
256
-
257
- * ``Optimise connection importing for Airflow 2.2.0``
258
-
259
-
260
- .. Below changes are excluded from the changelog. Move them to
261
- appropriate section above if needed. Do not delete the lines(!):
262
- * ``Prepares docs for Rc2 release of July providers (#17116)``
263
- * ``Prepare documentation for July release of providers. (#17015)``
264
- * ``Removes pylint from our toolchain (#16682)``
265
-
266
- 2.0.0
267
- .....
268
-
269
- Breaking changes
270
- ~~~~~~~~~~~~~~~~
271
-
272
- * ``Auto-apply apply_default decorator (#15667)``
273
-
274
- .. warning:: Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+.
275
- If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade
276
- Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded
277
- automatically and you will have to manually run ``airflow upgrade db`` to complete the migration.
278
-
279
- .. Below changes are excluded from the changelog. Move them to
280
- appropriate section above if needed. Do not delete the lines(!):
281
- * ``Prepares provider release after PIP 21 compatibility (#15576)``
282
- * ``Update Docstrings of Modules with Missing Params (#15391)``
283
- * ``Remove Backport Providers (#14886)``
284
- * ``Update documentation for broken package releases (#14734)``
285
- * ``Updated documentation for June 2021 provider release (#16294)``
286
- * ``More documentation update for June providers release (#16405)``
287
- * ``Synchronizes updated changelog after buggfix release (#16464)``
288
-
289
- 1.0.1
290
- .....
291
-
292
- Updated documentation and readme files.
293
-
294
- 1.0.0
295
- .....
296
-
297
- Initial version of the provider.
@@ -1,11 +0,0 @@
1
- airflow/providers/zendesk/__init__.py,sha256=GSy4DN6yCGpOoaUPQTLk7PeiW-_81OU6_mhLCmTRodQ,1532
2
- airflow/providers/zendesk/get_provider_info.py,sha256=CNMezh_FvmuHKnDK8-PNwwtYh0dHI8_E5xm7TvE0JBw,2245
3
- airflow/providers/zendesk/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
4
- airflow/providers/zendesk/hooks/zendesk.py,sha256=e_tsxRgvhPteRjUY-DUpdLj7qekQNRC19IOXJTQOsQA,4536
5
- apache_airflow_providers_zendesk-4.3.1.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
6
- apache_airflow_providers_zendesk-4.3.1.dist-info/METADATA,sha256=RXw4mROIE-_XnVpjqQtPuRzDr3ObnvSRchNh3rF6VMA,10348
7
- apache_airflow_providers_zendesk-4.3.1.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
8
- apache_airflow_providers_zendesk-4.3.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
9
- apache_airflow_providers_zendesk-4.3.1.dist-info/entry_points.txt,sha256=wy74m_XiVALLSyIVIyb5Lpe3qr7NZ_9FP8YQNSq8CfI,104
10
- apache_airflow_providers_zendesk-4.3.1.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
11
- apache_airflow_providers_zendesk-4.3.1.dist-info/RECORD,,