anshuksi282-ksolves commented on PR #56422:
URL: https://github.com/apache/airflow/pull/56422#issuecomment-3443196097

   Hi @ephraimbuddy, I've rebased and pushed the changes.
   
   I used `session.scalar()` as you suggested, thanks! I noticed you included 
`bundle_name` in the query, but that was causing the `assert 6 == 4 `test to 
fail (it was creating new rows instead of updating).
   
   So, I've kept only `dag_id` in the `where` clause, which I think will fix it.
   
   I also added the `if not latest_ser_dag: return False` check for the 
original `NoneType` error, as you confirmed.
   
   This should hopefully fix all the CI failures now. Thanks!


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