Permalink
Browse files

a small fix

  • Loading branch information...
1 parent dd7ec58 commit f21534b42a74fc26d96f3184e56045423b98098f @jordanm jordanm committed Oct 10, 2012
Showing with 8 additions and 4 deletions.
  1. +1 −4 spire/schema/__init__.py
  2. +7 −0 spire/schema/fields.py
View
@@ -4,9 +4,6 @@
from sqlalchemy.orm.exc import MultipleResultsFound, NoResultFound
from sqlalchemy.schema import PrimaryKeyConstraint, UniqueConstraint
-from spire.schema.fields import (Array, Boolean, Date, DateTime, Decimal, Email,
- Enumeration, Float, ForeignKey, Hstore, Identifier, Integer, Serialized,
- Text, Time, Token, UUID)
-
+from spire.schema.fields import *
from spire.schema.model import *
from spire.schema.schema import *
View
@@ -8,6 +8,13 @@
from spire.util import uniqid
+__all__ = ('Array', 'ArrayType', 'Boolean', 'BooleanType', 'Date', 'DateType',
+ 'DateTime', 'DateTimeType', 'Decimal', 'DecimalType', 'Email', 'EmailType',
+ 'Enumeration', 'EnumerationType', 'Float', 'FloatType', 'ForeignKey',
+ 'Hstore', 'HstoreType', 'Identifier', 'Integer', 'IntegerType', 'Serialized',
+ 'SerializedType', 'Text', 'TextType', 'Time', 'TimeType', 'Token', 'TokenType',
+ 'UUID', 'UUIDType')
+
class TypeDecorator(TypeDecorator):
def __repr__(self):
return '%s()' % type(self).__name__

0 comments on commit f21534b

Please sign in to comment.