Skip to content

Commit a5f4006

Browse files
authored
Fix Type -> type
1 parent 8e289d3 commit a5f4006

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sqlmodel/sql/sqltypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import enum
2-
from typing import Any, Optional, Type, TypeVar, cast
2+
from typing import Any, Optional, TypeVar, cast
33

44
from sqlalchemy import types
55
from sqlalchemy.engine.interfaces import Dialect
@@ -23,7 +23,7 @@ class IntEnum(types.TypeDecorator[Optional[_TIntEnum]]):
2323
impl = types.SmallInteger
2424
cache_ok = True
2525

26-
def __init__(self, enum_type: Type[_TIntEnum], *args: Any, **kwargs: Any):
26+
def __init__(self, enum_type: type[_TIntEnum], *args: Any, **kwargs: Any):
2727
super().__init__(*args, **kwargs)
2828

2929
# validate the input enum type

0 commit comments

Comments
 (0)