SameerMesiah97 commented on code in PR #71802:
URL: https://github.com/apache/airflow/pull/71802#discussion_r3866593057
##########
airflow-core/src/airflow/serialization/definitions/deadline.py:
##########
@@ -380,11 +378,35 @@ def _fetch_from_db(column, *, session: Session, dag_id:
str, run_id: str) -> dat
return result
[email protected](frozen=True)
+class SerializedVariableInterval:
+ """Core-side serialized representation of a variable-backed deadline
interval."""
+
+ key: str
+
+ def resolve(self) -> timedelta:
+ from airflow.models.variable import Variable
Review Comment:
This has been moved to the top of the file now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]