From: Eevee Date: Fri, 25 Mar 2011 03:02:00 +0000 (-0700) Subject: Remove a bunch of imports from tables.py. X-Git-Tag: veekun-promotions/2011041101~33^2~2 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/228fad5ae808ca47ba3d858bb49b5875c95ed67c?hp=--cc Remove a bunch of imports from tables.py. --- 228fad5ae808ca47ba3d858bb49b5875c95ed67c diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index aaa2fcb..f0e60bf 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -30,22 +30,14 @@ import collections from functools import partial from sqlalchemy import Column, ForeignKey, MetaData, PrimaryKeyConstraint, Table, UniqueConstraint -from sqlalchemy.ext.declarative import ( - declarative_base, declared_attr, DeclarativeMeta, - ) +from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.ext.associationproxy import association_proxy -from sqlalchemy.orm import ( - backref, compile_mappers, eagerload_all, relation, class_mapper, synonym, mapper, - ) -from sqlalchemy.orm.session import Session, object_session +from sqlalchemy.orm import backref, relation +from sqlalchemy.orm.session import Session 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.expression import ColumnOperators, bindparam from sqlalchemy.schema import ColumnDefault from sqlalchemy.types import * -from inspect import isclass from pokedex.db import markdown, multilang