projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
19b623b
)
Remove a bunch of imports from tables.py.
author
Eevee
<git@veekun.com>
Fri, 25 Mar 2011 03:02:00 +0000
(20:02 -0700)
committer
Eevee
<git@veekun.com>
Fri, 25 Mar 2011 03:02:00 +0000
(20:02 -0700)
pokedex/db/tables.py
patch
|
blob
|
history
diff --git
a/pokedex/db/tables.py
b/pokedex/db/tables.py
index
aaa2fcb
..
f0e60bf
100644
(file)
--- 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 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.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.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.types import *
from sqlalchemy.schema import ColumnDefault
from sqlalchemy.types import *
-from inspect import isclass
from pokedex.db import markdown, multilang
from pokedex.db import markdown, multilang