uranusjr commented on code in PR #71815:
URL: https://github.com/apache/airflow/pull/71815#discussion_r3826308014


##########
airflow-core/src/airflow/api_fastapi/common/dagbag.py:
##########
@@ -40,7 +40,11 @@ def create_dag_bag() -> DBDagBag:
     if cache_ttl < 0:
         raise ValueError("[api] dag_cache_ttl must be greater than or equal to 
0")

Review Comment:
   CachedDBDagBag already contains the same checks. Since both `create_dag_bag` 
and `CachedDBDagBag` are Airflow-private, one of them should be removed.



-- 
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]

Reply via email to