]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add HSTORE
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2012 03:08:14 +0000 (22:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2012 03:08:14 +0000 (22:08 -0500)
- this was a mistake in mutable

doc/build/dialects/postgresql.rst
lib/sqlalchemy/ext/mutable.py

index 072469406d6f349d7401c4fc561643dfd52b70de..3943f865a1113e269f6c39f10cf2865bf93dc9ab 100644 (file)
@@ -49,6 +49,9 @@ construction arguments, are as follows:
     :members: __init__, create, drop
     :show-inheritance:
 
+.. autoclass:: HSTORE
+    :show-inheritance:
+
 .. autoclass:: INET
     :members: __init__
     :show-inheritance:
index fcc493875f09d1b44bde3e2bbbee495c357cc520..877a7321741cbe362cfeaf5ca3d4f29b3ad2ea20 100644 (file)
@@ -460,9 +460,6 @@ class Mutable(MutableBase):
 
         """
 
-        if not isinstance(sqltype, types.TypeEngine):
-            raise exc.ArgumentError("Type instance expected, got %s" % sqltype)
-
         def listen_for_type(mapper, class_):
             for prop in mapper.iterate_properties:
                 if hasattr(prop, 'columns'):