You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/01 09:59:51 UTC

[GitHub] [airflow] ashb opened a new pull request #6222: Revert "[AIRFLOW-5490] Fix incorrect None comparison"

ashb opened a new pull request #6222: Revert "[AIRFLOW-5490] Fix incorrect None comparison"
URL: https://github.com/apache/airflow/pull/6222
 
 
   Reverts apache/airflow#6109 as this breaks the query.
   
   ```
   In [5]: type(TI.state is None)
   Out[5]: bool
   
   In [6]: type(TI.state == None)
   Out[6]: sqlalchemy.sql.elements.BinaryExpression
   
   In [7]: type(TI.state.is_(None))
   Out[7]: sqlalchemy.sql.elements.BinaryExpression
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services