apache-airflow-providers-teradata 3.2.0rc1__py3-none-any.whl → 3.2.1rc1__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__ = "3.2.0"
32
+ __version__ = "3.2.1"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.10.0"
@@ -22,11 +22,7 @@ from abc import ABC
22
22
  from typing import Any
23
23
 
24
24
  from airflow.exceptions import AirflowException
25
-
26
- try:
27
- from airflow.sdk import BaseHook
28
- except ImportError:
29
- from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
25
+ from airflow.providers.teradata.version_compat import BaseHook
30
26
 
31
27
 
32
28
  class TtuHook(BaseHook, ABC):
@@ -268,7 +268,6 @@ class TeradataComputeClusterProvisionOperator(_TeradataComputeClusterOperator):
268
268
  Lake, effectively creates the compute cluster.
269
269
  Airflow runs this method on the worker and defers using the trigger.
270
270
  """
271
- super().execute(context)
272
271
  return self._compute_cluster_execute()
273
272
 
274
273
  def _compute_cluster_execute(self):
@@ -356,7 +355,6 @@ class TeradataComputeClusterDecommissionOperator(_TeradataComputeClusterOperator
356
355
  Lake, effectively drops the compute cluster.
357
356
  Airflow runs this method on the worker and defers using the trigger.
358
357
  """
359
- super().execute(context)
360
358
  return self._compute_cluster_execute()
361
359
 
362
360
  def _compute_cluster_execute(self):
@@ -417,7 +415,6 @@ class TeradataComputeClusterResumeOperator(_TeradataComputeClusterOperator):
417
415
  Lake, effectively resumes the compute cluster.
418
416
  Airflow runs this method on the worker and defers using the trigger.
419
417
  """
420
- super().execute(context)
421
418
  return self._compute_cluster_execute()
422
419
 
423
420
  def _compute_cluster_execute(self):
@@ -488,7 +485,6 @@ class TeradataComputeClusterSuspendOperator(_TeradataComputeClusterOperator):
488
485
  Lake, effectively suspends the compute cluster.
489
486
  Airflow runs this method on the worker and defers using the trigger.
490
487
  """
491
- super().execute(context)
492
488
  return self._compute_cluster_execute()
493
489
 
494
490
  def _compute_cluster_execute(self):
@@ -33,10 +33,16 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
33
33
 
34
34
 
35
35
  AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
36
+ AIRFLOW_V_3_1_PLUS: bool = get_base_airflow_version_tuple() >= (3, 1, 0)
37
+
38
+ if AIRFLOW_V_3_1_PLUS:
39
+ from airflow.sdk import BaseHook
40
+ else:
41
+ from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
36
42
 
37
43
  if AIRFLOW_V_3_0_PLUS:
38
44
  from airflow.sdk import BaseOperator
39
45
  else:
40
- from airflow.models import BaseOperator # type: ignore[no-redef]
46
+ from airflow.models import BaseOperator
41
47
 
42
- __all__ = ["AIRFLOW_V_3_0_PLUS", "BaseOperator"]
48
+ __all__ = ["AIRFLOW_V_3_0_PLUS", "AIRFLOW_V_3_1_PLUS", "BaseHook", "BaseOperator"]
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-teradata
3
- Version: 3.2.0rc1
3
+ Version: 3.2.1rc1
4
4
  Summary: Provider package apache-airflow-providers-teradata for Apache Airflow
5
5
  Keywords: airflow-provider,teradata,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
7
7
  Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
8
- Requires-Python: ~=3.10
8
+ Requires-Python: >=3.10
9
9
  Description-Content-Type: text/x-rst
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Console
@@ -18,6 +18,7 @@ Classifier: License :: OSI Approved :: Apache Software License
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
21
22
  Classifier: Topic :: System :: Monitoring
22
23
  Requires-Dist: apache-airflow>=2.10.0rc1
23
24
  Requires-Dist: apache-airflow-providers-common-sql>=1.20.0rc1
@@ -27,8 +28,8 @@ Requires-Dist: apache-airflow-providers-amazon ; extra == "amazon"
27
28
  Requires-Dist: apache-airflow-providers-microsoft-azure ; extra == "microsoft-azure"
28
29
  Requires-Dist: apache-airflow-providers-ssh ; extra == "ssh"
29
30
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
30
- Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-teradata/3.2.0/changelog.html
31
- Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-teradata/3.2.0
31
+ Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-teradata/3.2.1/changelog.html
32
+ Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-teradata/3.2.1
32
33
  Project-URL: Mastodon, https://fosstodon.org/@airflow
33
34
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
34
35
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -62,8 +63,9 @@ Provides-Extra: ssh
62
63
 
63
64
  Package ``apache-airflow-providers-teradata``
64
65
 
65
- Release: ``3.2.0``
66
+ Release: ``3.2.1``
66
67
 
68
+ Release Date: ``|PypiReleaseDate|``
67
69
 
68
70
  `Teradata <https://www.teradata.com/>`__
69
71
 
@@ -75,7 +77,7 @@ This is a provider package for ``teradata`` provider. All classes for this provi
75
77
  are in ``airflow.providers.teradata`` python package.
76
78
 
77
79
  You can find package information and changelog for the provider
78
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-teradata/3.2.0/>`_.
80
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-teradata/3.2.1/>`_.
79
81
 
80
82
  Installation
81
83
  ------------
@@ -84,7 +86,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
84
86
  for the minimum Airflow version supported) via
85
87
  ``pip install apache-airflow-providers-teradata``
86
88
 
87
- The package supports the following python versions: 3.10,3.11,3.12
89
+ The package supports the following python versions: 3.10,3.11,3.12,3.13
88
90
 
89
91
  Requirements
90
92
  ------------
@@ -121,5 +123,5 @@ Dependent package
121
123
  ====================================================================================================================== ===================
122
124
 
123
125
  The changelog for the provider package can be found in the
124
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-teradata/3.2.0/changelog.html>`_.
126
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-teradata/3.2.1/changelog.html>`_.
125
127
 
@@ -1,15 +1,15 @@
1
1
  airflow/providers/teradata/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
2
- airflow/providers/teradata/__init__.py,sha256=gsGQuyJbj0NqeMWHeK5du0fxg7L5EMOEvWtYIT8oW7w,1497
2
+ airflow/providers/teradata/__init__.py,sha256=TbCy6Rbt5qrxNqFXgDDD3TeFNMaUWAbjFkJ28gnOVj0,1497
3
3
  airflow/providers/teradata/get_provider_info.py,sha256=SF-3YIl3CCi6mN6b9EEqLkJNyuMIM35CvY_H91QdELw,4031
4
- airflow/providers/teradata/version_compat.py,sha256=0VNFig0J24YH-32j11aTLlLRXdnHCmQHrNYkBXbOjx4,1727
4
+ airflow/providers/teradata/version_compat.py,sha256=rSCzUYsqEbM9-qivzLBYCnll2FFVAvk8LyMZvUi_sNE,1958
5
5
  airflow/providers/teradata/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
6
6
  airflow/providers/teradata/hooks/bteq.py,sha256=9N9z2NbouKbwYiikCbMkVAobvgpRvHgN4uzChQ5c8GU,15067
7
7
  airflow/providers/teradata/hooks/teradata.py,sha256=fOt3ZriM-rB27d-7RWhoEBZJyZcNkHowrSh4hqiNNi8,10964
8
- airflow/providers/teradata/hooks/ttu.py,sha256=6editw7RKhLC8RBLmeZ4r4ILhrib1tOjytLJykPec5g,3778
8
+ airflow/providers/teradata/hooks/ttu.py,sha256=dn8_KFkCg_qTkoCxdyxpZUJM2fEMInhlX6UW_D7dCLY,3695
9
9
  airflow/providers/teradata/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
10
10
  airflow/providers/teradata/operators/bteq.py,sha256=w7CysOA1ioVvTLhPsj_g3paCM8YH0Yh-wUJLKRJsLZk,13223
11
11
  airflow/providers/teradata/operators/teradata.py,sha256=G8Vgu2g-lyX7lisdEZOafIFJEx-eeeM9bgNI4fDKnq0,3873
12
- airflow/providers/teradata/operators/teradata_compute_cluster.py,sha256=asnuih4an1AuKa2rBfyOuDDhfENx3sjvQe5LsfObvI0,21961
12
+ airflow/providers/teradata/operators/teradata_compute_cluster.py,sha256=30v9PCBDUlkAKVqxsz4ctcai709h-fZGomUW0h8QmXU,21829
13
13
  airflow/providers/teradata/transfers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
14
14
  airflow/providers/teradata/transfers/azure_blob_to_teradata.py,sha256=XnMsQSLS-kQP7aBRer3bLro8qgNohcJ3H63c2YIjYMA,5678
15
15
  airflow/providers/teradata/transfers/s3_to_teradata.py,sha256=-YskshSjx-qVniuSIHIQc4qJmfpxvhqiiy2zvXDzewk,5700
@@ -20,7 +20,7 @@ airflow/providers/teradata/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xS
20
20
  airflow/providers/teradata/utils/bteq_util.py,sha256=GCIPc1PCIOC-YWwxgYHr-N1d7X8ZGPU5Lmax_JZY6rA,7360
21
21
  airflow/providers/teradata/utils/constants.py,sha256=ro1FVNsAakal8_uX27aN0DTVO0T9FG4fv9HzBIY2I-w,2253
22
22
  airflow/providers/teradata/utils/encryption_utils.py,sha256=ARGWmgBbvSq6_MQHfTevvfvHjaiBjQI62UXltDcJLJo,2578
23
- apache_airflow_providers_teradata-3.2.0rc1.dist-info/entry_points.txt,sha256=JbigXoUoKVSNWG-_-029FCCuehMOmAvuSnNGZ9Bz1Kc,104
24
- apache_airflow_providers_teradata-3.2.0rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
25
- apache_airflow_providers_teradata-3.2.0rc1.dist-info/METADATA,sha256=oPXxhROtkfGAKjX944w2UqLQER_8fIgJ30Fs9vAZv-s,5964
26
- apache_airflow_providers_teradata-3.2.0rc1.dist-info/RECORD,,
23
+ apache_airflow_providers_teradata-3.2.1rc1.dist-info/entry_points.txt,sha256=JbigXoUoKVSNWG-_-029FCCuehMOmAvuSnNGZ9Bz1Kc,104
24
+ apache_airflow_providers_teradata-3.2.1rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
25
+ apache_airflow_providers_teradata-3.2.1rc1.dist-info/METADATA,sha256=MrVA9qbumPrk_c2MRss-EJwFsxl62QKUGxRLJpsw92s,6056
26
+ apache_airflow_providers_teradata-3.2.1rc1.dist-info/RECORD,,