fix isort error for import types

This commit is contained in:
honglei 2023-08-15 01:30:56 +08:00
parent 710e92b285
commit 46b130dfb7

View File

@ -2,6 +2,7 @@ from __future__ import annotations
import ipaddress import ipaddress
import sys import sys
import types
import uuid import uuid
import weakref import weakref
from datetime import date, datetime, time, timedelta from datetime import date, datetime, time, timedelta
@ -26,7 +27,6 @@ from typing import (
Union, Union,
cast, cast,
) )
import types
import pydantic import pydantic
from pydantic import BaseModel from pydantic import BaseModel
@ -43,10 +43,9 @@ from sqlalchemy.orm.attributes import set_attribute
from sqlalchemy.orm.decl_api import DeclarativeMeta from sqlalchemy.orm.decl_api import DeclarativeMeta
from sqlalchemy.orm.instrumentation import is_instrumented from sqlalchemy.orm.instrumentation import is_instrumented
from sqlalchemy.orm.properties import MappedColumn from sqlalchemy.orm.properties import MappedColumn
from sqlalchemy.sql.schema import MetaData, DefaultClause
from sqlalchemy.sql.sqltypes import LargeBinary, Time
from sqlalchemy.sql import false, true from sqlalchemy.sql import false, true
from sqlalchemy.sql.schema import DefaultClause, MetaData
from sqlalchemy.sql.sqltypes import LargeBinary, Time
from .sql.sqltypes import GUID, AutoString from .sql.sqltypes import GUID, AutoString
from .typing import SQLModelConfig from .typing import SQLModelConfig