Remove a bunch of imports from tables.py.

This commit is contained in:
Eevee 2011-03-24 20:02:00 -07:00
parent d986355bf3
commit 027fd6236f

View file

@ -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