diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-11-17 22:08:14 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-11-17 22:08:14 -0500 |
| commit | 713a1d3b241d23873ac8c2edeb81e073afd2db87 (patch) | |
| tree | 212db9bf797800c94eb926e65e110009c42e22fe | |
| parent | 50fb37e19e7589126c2b669221c3ce76127999b2 (diff) | |
| download | sqlalchemy-713a1d3b241d23873ac8c2edeb81e073afd2db87.tar.gz | |
- add HSTORE
- this was a mistake in mutable
| -rw-r--r-- | doc/build/dialects/postgresql.rst | 3 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/mutable.py | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/dialects/postgresql.rst b/doc/build/dialects/postgresql.rst index 072469406..3943f865a 100644 --- a/doc/build/dialects/postgresql.rst +++ b/doc/build/dialects/postgresql.rst @@ -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: diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index fcc493875..877a73217 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -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'): |
