ephraimbuddy opened a new pull request, #53975:
URL: https://github.com/apache/airflow/pull/53975
Major Changes:
- Rename `SchedulerDagBag` to `DBDagBag` for better clarity
- Add centralized DAG validation functions in API server at `dagbag.py`:
- `get_latest_version_of_dag()` - validates DAG exists and returns latest
version
- `get_dag_for_run()` - validates DAG exists for specific run
- `get_dag_for_run_or_latest_version()` - flexible DAG retrieval
- Replace scattered DAG existence checks across all API routes with
centralized functions
- Standardize error messages across all DAG-related endpoints
--
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]