This method is used in DagFileProcessor.process_file - it may be easier to migrate all it's internal calls instead of the whole method.
""":return: the amount of dags contained in this dagbag"""
        return len(self.dags)
    @property
    def store_serialized_dags(self) -> bool:
        """Whether to read dags from DB"""
        warnings.warn(
            "The store_serialized_dags property has been deprecated. Use read_dags_from_db instead.",
            RemovedInAirflow3Warning,
            stacklevel=2,
        )
        return self.read_dags_from_db
    @property
    def dag_ids(self) -> list[str]: