amoghrajesh commented on code in PR #61118:
URL: https://github.com/apache/airflow/pull/61118#discussion_r2735025714
##########
airflow-core/src/airflow/serialization/decoders.py:
##########
@@ -131,6 +135,32 @@ def decode_asset_like(var: dict[str, Any]) ->
SerializedAssetBase:
raise ValueError(f"deserialization not implemented for DAT
{data_type!r}")
+def decode_deadline_alert(encoded_data: dict):
+ """
+ Decode a previously serialized deadline alert.
+
+ :meta private:
+ """
+ from datetime import timedelta
+
+ from airflow.sdk.serde import deserialize
+ from airflow.serialization.definitions.deadline import
SerializedDeadlineAlert
Review Comment:
Handled better in 24548f2e96
--
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]