File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
"""
5
5
6
6
from datetime import datetime
7
+ from typing import List # noqa
7
8
8
9
from flask_migrate import Migrate
9
10
from flask_sqlalchemy import SQLAlchemy
@@ -58,7 +59,7 @@ class TestCase(db.Model):
58
59
id : Mapped [int ] = mapped_column (primary_key = True , autoincrement = True )
59
60
name : Mapped [str ] = mapped_column (String (255 ), nullable = False )
60
61
description : Mapped [str ] = mapped_column (String (500 ), nullable = True )
61
- executions : Mapped [list ["Execution" ]] = relationship (
62
+ executions : Mapped [List ["Execution" ]] = relationship ( # noqa
62
63
"Execution" , back_populates = "test_case"
63
64
)
64
65
@@ -86,7 +87,7 @@ class Asset(db.Model):
86
87
87
88
id : Mapped [int ] = mapped_column (primary_key = True , autoincrement = True )
88
89
name : Mapped [str ] = mapped_column (String (255 ), nullable = False )
89
- executions : Mapped [list ["Execution" ]] = relationship (
90
+ executions : Mapped [List ["Execution" ]] = relationship ( # noqa
90
91
"Execution" , back_populates = "asset"
91
92
)
92
93
You can’t perform that action at this time.
0 commit comments