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):