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

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   Closes https://github.com/apache/airflow/issues/27556.
   Previous implementation assumes that the current crawler data always has the 
keys in the wanted configuration, but this is not true, causing a KeyError when 
the key is not present in the current crawler configuration.
   
   This PR fixes this by using the more stable `dict.get` method, providing a 
default value of None to allow proper comparison.


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