kaxil commented on code in PR #55849:
URL: https://github.com/apache/airflow/pull/55849#discussion_r2360460320
##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -2384,25 +2383,23 @@ class SerializedDAG(BaseSerialization):
_processor_dags_folder: str
def __init__(self, *, dag_id: str) -> None:
- self.catchup = airflow_conf.getboolean("scheduler",
"catchup_by_default")
+ self.catchup = False # Schema default
self.dag_id = self.dag_display_name = dag_id
self.dagrun_timeout = None
self.deadline = None
self.default_args = {}
self.description = None
- self.disable_bundle_versioning =
airflow_conf.getboolean("dag_processor", "disable_bundle_versioning")
+ self.disable_bundle_versioning = False
self.doc_md = None
self.edge_info = {}
self.end_date = None
self.fail_fast = False
self.has_on_failure_callback = False
self.has_on_success_callback = False
self.is_paused_upon_creation = None
- self.max_active_runs = airflow_conf.getint("core",
"max_active_runs_per_dag")
Review Comment:
Yup, it is covered
--
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]