seelmann commented on a change in pull request #3596: [AIRFLOW-2747] Explicit 
re-schedule of sensors
URL: https://github.com/apache/incubator-airflow/pull/3596#discussion_r218307927
 
 

 ##########
 File path: airflow/models.py
 ##########
 @@ -56,8 +56,8 @@
 
 from sqlalchemy import (
     Column, Integer, String, DateTime, Text, Boolean, ForeignKey, PickleType,
-    Index, Float, LargeBinary, UniqueConstraint)
-from sqlalchemy import func, or_, and_, true as sqltrue
+    Index, Float, LargeBinary, UniqueConstraint, ForeignKeyConstraint)
+from sqlalchemy import func, or_, and_, true as sqltrue, asc
 
 Review comment:
   There are already two `from sqlalchemy import ...` statements: the first 
imports types, the second imports (SQL) expressions.
   I can introduce a third one.
   Or combine all into one like this (lexicographically sorted):
   ```
   from sqlalchemy import (
       Boolean, Column, DateTime, Float, ForeignKey, ForeignKeyConstraint, 
Index,
       Integer, LargeBinary, PickleType, String, Text, UniqueConstraint, 
       and_, asc, func, or_, true as sqltrue
   )
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to