Used in https://github.com/mhenc/airflow/blob/master/airflow/dag_processing/manager.py#L613

should be straighforward
"""
        Return a DagParam object for current dag.
        :param name: dag parameter name.
        :param default: fallback value for dag parameter.
        :return: DagParam instance for specified name and current dag.
        """
        return DagParam(current_dag=self, name=name, default=default)
    @property
    def tasks(self) -> list[Operator]:
        return list(self.task_dict.values())
    @tasks.setter
    def tasks(self, val):
        raise AttributeError("DAG.tasks can not be modified. Use dag.add_task() instead.")
    @property
    def task_ids(self) -> list[str]:
        return list(self.task_dict.keys())
    @property
    def task_group(self) -> TaskGroup:
        return self._task_group
    @property
    def filepath(self) -> str:
        """:meta private:"""
        warnings.warn(
            "filepath is deprecated, use relative_fileloc instead",
            RemovedInAirflow3Warning,
            stacklevel=2,
        )
        return str(self.relative_fileloc)
    @property
    def relative_fileloc(self) -> pathlib.Path: