This is an automated email from the ASF dual-hosted git repository.

shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 62df1cc8bb3 Remove unused Teradata operation classifier (#75785)
62df1cc8bb3 is described below

commit 62df1cc8bb3364c7a4b88e38ea903840d89df697
Author: Hussein Awala <[email protected]>
AuthorDate: Tue Oct 27 22:06:43 2026 +0100

    Remove unused Teradata operation classifier (#75785)
    
    The private operation classifier has no callers, and the enum exists only 
to serve that unused classifier.
---
 .../teradata/operators/teradata_compute_cluster.py       | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git 
a/providers/teradata/src/airflow/providers/teradata/operators/teradata_compute_cluster.py
 
b/providers/teradata/src/airflow/providers/teradata/operators/teradata_compute_cluster.py
index c0d93cdaa21..522ceb33758 100644
--- 
a/providers/teradata/src/airflow/providers/teradata/operators/teradata_compute_cluster.py
+++ 
b/providers/teradata/src/airflow/providers/teradata/operators/teradata_compute_cluster.py
@@ -19,7 +19,6 @@ from __future__ import annotations
 
 import re
 from abc import abstractmethod
-from enum import Enum
 from functools import cached_property
 from typing import TYPE_CHECKING
 
@@ -42,14 +41,6 @@ if TYPE_CHECKING:
 from airflow.providers.common.compat.sdk import AirflowException
 
 
-# Represents
-# 1. Compute Cluster Setup - Provision and Decomission operations
-# 2. Compute Cluster State - Resume and Suspend operations
-class _Operation(Enum):
-    SETUP = 1
-    STATE = 2
-
-
 # Handler to handle single result set of a SQL query
 def _single_result_row_handler(cursor):
     records = cursor.fetchone()
@@ -60,13 +51,6 @@ def _single_result_row_handler(cursor):
     raise TypeError(f"Unexpected results: {cursor.fetchone()!r}")
 
 
-# Providers given operation is setup or state operation
-def _determine_operation_context(operation):
-    if operation == Constants.CC_CREATE_OPR or operation == 
Constants.CC_DROP_OPR:
-        return _Operation.SETUP
-    return _Operation.STATE
-
-
 class _TeradataComputeClusterOperator(BaseOperator):
     """
     Teradata Compute Cluster Base Operator to set up and status operations of 
compute cluster.

Reply via email to