From 82251f37ce615a762184b66444fe189df88468fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Fri, 24 Jan 2025 01:33:27 +0200 Subject: [PATCH] Fixed pre-commit errors --- src/sqlacodegen/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sqlacodegen/models.py b/src/sqlacodegen/models.py index 3f03e02..b286e81 100644 --- a/src/sqlacodegen/models.py +++ b/src/sqlacodegen/models.py @@ -2,7 +2,7 @@ from dataclasses import dataclass, field from enum import Enum, auto -from typing import Any, Tuple, Union +from typing import Any, Union from sqlalchemy.sql.schema import Column, ForeignKeyConstraint, Table @@ -52,7 +52,7 @@ def __str__(self) -> str: return self.name -JoinType = Tuple[Model, Union[ColumnAttribute, str], Model, Union[ColumnAttribute, str]] +JoinType = tuple[Model, Union[ColumnAttribute, str], Model, Union[ColumnAttribute, str]] @dataclass