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 2022/03/15 08:15:47 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #22260: Add map_index to TaskFail

uranusjr commented on a change in pull request #22260:
URL: https://github.com/apache/airflow/pull/22260#discussion_r826688501



##########
File path: airflow/models/taskfail.py
##########
@@ -16,34 +16,59 @@
 # specific language governing permissions and limitations
 # under the License.
 """Taskfail tracks the failed run durations of each task instance"""
-from sqlalchemy import Column, Index, Integer, String
+from typing import TYPE_CHECKING
 
-from airflow.models.base import COLLATION_ARGS, ID_LEN, Base
+from sqlalchemy import Column, ForeignKeyConstraint, Integer
+
+from airflow.models.base import Base, StringID
 from airflow.utils.sqlalchemy import UtcDateTime
 
+if TYPE_CHECKING:
+    pass

Review comment:
       Stray code?




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org