ephraimbuddy opened a new pull request, #22928:
URL: https://github.com/apache/airflow/pull/22928

   Each time a dag with import error is parsed, the ImportError record is 
deleted
   and a new record is created. For example, say I have two dags with import 
errors,
   initially, the import error id will be dag_1:import_error.id=1, 
dag2:import_error.id=2.
   In the next dag parsing, the import error will increase. 
dag_1:import_error.id=3,
   dag_2:import_error.id=4 and it continues like that.
   This makes it impossible for the get import error REST API endpoint to be 
consistent
   
   This PR fixes this issue by updating the existing record and creating a new 
one if no record
   exists


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to