Skip to content

Commit e345698

Browse files
committed
fix typing error
1 parent a442f73 commit e345698

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/flaskapp/database/models.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""
55

66
from datetime import datetime
7+
from typing import List # noqa
78

89
from flask_migrate import Migrate
910
from flask_sqlalchemy import SQLAlchemy
@@ -58,7 +59,7 @@ class TestCase(db.Model):
5859
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
5960
name: Mapped[str] = mapped_column(String(255), nullable=False)
6061
description: Mapped[str] = mapped_column(String(500), nullable=True)
61-
executions: Mapped[list["Execution"]] = relationship(
62+
executions: Mapped[List["Execution"]] = relationship( # noqa
6263
"Execution", back_populates="test_case"
6364
)
6465

@@ -86,7 +87,7 @@ class Asset(db.Model):
8687

8788
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
8889
name: Mapped[str] = mapped_column(String(255), nullable=False)
89-
executions: Mapped[list["Execution"]] = relationship(
90+
executions: Mapped[List["Execution"]] = relationship( # noqa
9091
"Execution", back_populates="asset"
9192
)
9293

0 commit comments

Comments
 (0)