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

   This fixes #22647, which was marked closed due to lack of activity / 
feedback.
   
   SQLAlchemy added [the `cache_ok` 
flag](https://docs.sqlalchemy.org/en/14/core/custom_types.html#sqlalchemy.types.TypeDecorator.cache_ok)
 in 1.14.4. If this is unset in a `TypeDecorator` subclass, it emits a log 
warning when the class is used. The fix is to set the value to `True` or 
`False` to suppress the warning.
   
   I've set the value to `True` for the three `TypeDecorator` classes in the 
`airflow.utils.sqlalchemy` module, as these classes have no state and are safe 
to cache. Setting it to `False` would also suppress the warning, and leave 
behavior unchanged.
   


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