diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqlalchemy/sql/type_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/type_api.py b/lib/sqlalchemy/sql/type_api.py index 6fa0bc64a..f9af21baa 100644 --- a/lib/sqlalchemy/sql/type_api.py +++ b/lib/sqlalchemy/sql/type_api.py @@ -263,7 +263,7 @@ class TypeEngine(Visitable): .. versionadded:: 0.7.2 """ - return Variant(self, {dialect_name: type_}) + return Variant(self, {dialect_name: to_instance(type_)}) @util.memoized_property |