Skip to content

Commit

Permalink
Fixed pre-commit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Jan 23, 2025
1 parent 4282e89 commit 82251f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sqlacodegen/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 82251f3

Please sign in to comment.