super().__init__(**kwargs)
        if self.max_active_tasks is None:
            if concurrency:
                warnings.warn(
                    "The 'DagModel.concurrency' parameter is deprecated. Please use 'max_active_tasks'.",
                    RemovedInAirflow3Warning,
                    stacklevel=2,
                )
                self.max_active_tasks = concurrency
            else:
                self.max_active_tasks = conf.getint("core", "max_active_tasks_per_dag")
        if self.max_active_runs is None:
            self.max_active_runs = conf.getint("core", "max_active_runs_per_dag")
        if self.has_task_concurrency_limits is None:
            
            self.has_task_concurrency_limits = True
    def __repr__(self):
        return f"<DAG: {self.dag_id}>"
    @property
    def next_dagrun_data_interval(self) -> DataInterval | None:
        return _get_model_data_interval(
            self,
            "next_dagrun_data_interval_start",
            "next_dagrun_data_interval_end",
        )
    @next_dagrun_data_interval.setter
    def next_dagrun_data_interval(self, value: tuple[datetime, datetime] | None) -> None: