diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-05-01 23:19:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-05-01 23:19:32 +0000 |
commit | ea87d39d7a9926dc1c6bf3d70e8faf8575769cb0 (patch) | |
tree | ee11512a1dd3bcb48aa2f1234881bd3e04f51ed1 /lib/sqlalchemy/sql/compiler.py | |
parent | 31898e90618e946aca3eef2914b03e8534c464aa (diff) | |
parent | aded39f68c29e44a50c85be1ddb370d3d1affe9d (diff) | |
download | sqlalchemy-ea87d39d7a9926dc1c6bf3d70e8faf8575769cb0.tar.gz |
Merge "Propose Result as immediate replacement for ResultProxy"
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 23eff773c..d32e3fd7a 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -702,7 +702,7 @@ class SQLCompiler(Compiled): # relates label names in the final SQL to a tuple of local # column/label name, ColumnElement object (if any) and - # TypeEngine. ResultProxy uses this for type processing and + # TypeEngine. CursorResult uses this for type processing and # column targeting self._result_columns = [] @@ -1056,11 +1056,11 @@ class SQLCompiler(Compiled): return expanded_state - @util.preload_module("sqlalchemy.engine.result") + @util.preload_module("sqlalchemy.engine.cursor") def _create_result_map(self): """utility method used for unit tests only.""" - result = util.preloaded.engine_result - return result.CursorResultMetaData._create_description_match_map( + cursor = util.preloaded.engine_cursor + return cursor.CursorResultMetaData._create_description_match_map( self._result_columns ) |