kaxil commented on code in PR #54383:
URL: https://github.com/apache/airflow/pull/54383#discussion_r2301710342
##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -1874,7 +1946,12 @@ class SerializedDAG(DAG, BaseSerialization):
strings.
"""
- _decorated_fields = {"default_args", "access_control"}
+ _decorated_fields: ClassVar[set[str]] = {"default_args", "access_control"}
+
+ last_loaded: datetime.datetime | None = attrs.field(factory=utcnow)
+ # this will only be set at serialization time
+ # it's only use is for determining the relative fileloc based only on the
serialize dag
+ _processor_dags_folder: str = attrs.field(init=False)
Review Comment:
Cool, I am waiting fro your PR to be merged for this sort of changes so I
can include dag defaults in https://github.com/apache/airflow/pull/54569
--
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]