This is an automated email from the ASF dual-hosted git repository.
amoghrajesh 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 bec35efeaa5 Update the init stub file for NEVER_EXPIRE key in task sdk
(#71872)
bec35efeaa5 is described below
commit bec35efeaa5276c19dff335caeaf7063bfd70df4
Author: Amogh Desai <[email protected]>
AuthorDate: Thu Aug 20 15:49:24 2026 +0530
Update the init stub file for NEVER_EXPIRE key in task sdk (#71872)
---
task-sdk/src/airflow/sdk/__init__.pyi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/task-sdk/src/airflow/sdk/__init__.pyi
b/task-sdk/src/airflow/sdk/__init__.pyi
index d48bf614407..a86bdeceefd 100644
--- a/task-sdk/src/airflow/sdk/__init__.pyi
+++ b/task-sdk/src/airflow/sdk/__init__.pyi
@@ -128,6 +128,7 @@ from airflow.sdk.definitions.variable import Variable as
Variable
from airflow.sdk.definitions.xcom_arg import XComArg as XComArg
from airflow.sdk.execution_time import macros as macros
from airflow.sdk.execution_time.cache import SecretCache as SecretCache
+from airflow.sdk.execution_time.context import NEVER_EXPIRE
from airflow.sdk.io.path import ObjectStoragePath as ObjectStoragePath
conf: AirflowSDKConfigParser
@@ -174,6 +175,7 @@ __all__ = [
"MinimumCount",
"MonthWindow",
"MultipleCronTriggerTimetable",
+ "NEVER_EXPIRE",
"ObjectStoragePath",
"Param",
"PokeReturnValue",