mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Remove a bunch of imports from tables.py.
This commit is contained in:
parent
d986355bf3
commit
027fd6236f
1 changed files with 3 additions and 11 deletions
|
@ -30,22 +30,14 @@ import collections
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from sqlalchemy import Column, ForeignKey, MetaData, PrimaryKeyConstraint, Table, UniqueConstraint
|
from sqlalchemy import Column, ForeignKey, MetaData, PrimaryKeyConstraint, Table, UniqueConstraint
|
||||||
from sqlalchemy.ext.declarative import (
|
from sqlalchemy.ext.declarative import declarative_base
|
||||||
declarative_base, declared_attr, DeclarativeMeta,
|
|
||||||
)
|
|
||||||
from sqlalchemy.ext.associationproxy import association_proxy
|
from sqlalchemy.ext.associationproxy import association_proxy
|
||||||
from sqlalchemy.orm import (
|
from sqlalchemy.orm import backref, relation
|
||||||
backref, compile_mappers, eagerload_all, relation, class_mapper, synonym, mapper,
|
from sqlalchemy.orm.session import Session
|
||||||
)
|
|
||||||
from sqlalchemy.orm.session import Session, object_session
|
|
||||||
from sqlalchemy.orm.interfaces import AttributeExtension
|
from sqlalchemy.orm.interfaces import AttributeExtension
|
||||||
from sqlalchemy.orm.collections import attribute_mapped_collection, MappedCollection, collection, collection_adapter
|
|
||||||
from sqlalchemy.ext.associationproxy import _AssociationDict, association_proxy
|
|
||||||
from sqlalchemy.sql import and_
|
from sqlalchemy.sql import and_
|
||||||
from sqlalchemy.sql.expression import ColumnOperators, bindparam
|
|
||||||
from sqlalchemy.schema import ColumnDefault
|
from sqlalchemy.schema import ColumnDefault
|
||||||
from sqlalchemy.types import *
|
from sqlalchemy.types import *
|
||||||
from inspect import isclass
|
|
||||||
|
|
||||||
from pokedex.db import markdown, multilang
|
from pokedex.db import markdown, multilang
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue