You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/10/13 20:51:15 UTC
(airflow) branch main updated: Remove some irrelevant TODOs in task sdk (#56506)
This is an automated email from the ASF dual-hosted git repository.
potiuk 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 69536b8b40b Remove some irrelevant TODOs in task sdk (#56506)
69536b8b40b is described below
commit 69536b8b40baf899025dfd3045c81b9d5efea8f2
Author: Amogh Desai <am...@gmail.com>
AuthorDate: Mon Oct 13 13:51:08 2025 -0700
Remove some irrelevant TODOs in task sdk (#56506)
---
task-sdk/src/airflow/sdk/definitions/variable.py | 1 -
task-sdk/src/airflow/sdk/execution_time/context.py | 3 ---
2 files changed, 4 deletions(-)
diff --git a/task-sdk/src/airflow/sdk/definitions/variable.py b/task-sdk/src/airflow/sdk/definitions/variable.py
index 1386aee258e..2e4c9aae3ca 100644
--- a/task-sdk/src/airflow/sdk/definitions/variable.py
+++ b/task-sdk/src/airflow/sdk/definitions/variable.py
@@ -44,7 +44,6 @@ class Variable:
value: Any | None = None
description: str | None = None
- # TODO: Extend this definition for reading/writing variables without context
@classmethod
def get(cls, key: str, default: Any = NOTSET, deserialize_json: bool = False):
from airflow.sdk.exceptions import AirflowRuntimeError, ErrorType
diff --git a/task-sdk/src/airflow/sdk/execution_time/context.py b/task-sdk/src/airflow/sdk/execution_time/context.py
index 4580ef4651e..c7ddf60fd60 100644
--- a/task-sdk/src/airflow/sdk/execution_time/context.py
+++ b/task-sdk/src/airflow/sdk/execution_time/context.py
@@ -207,9 +207,6 @@ async def _async_get_connection(conn_id: str) -> Connection:
from airflow.sdk.execution_time.supervisor import ensure_secrets_backend_loaded
from airflow.sdk.execution_time.task_runner import SUPERVISOR_COMMS
- # TODO: check cache first
- # enabled only if SecretCache.init() has been called first
-
# Try secrets backends first using async wrapper
backends = ensure_secrets_backend_loaded()
for secrets_backend in backends: