From 04d799863f710aa3308fcbab63070b719f7e7f81 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 28 Dec 2016 16:14:31 -0500 Subject: [PATCH] Correct any_, all_ spelling - Fixed 1.1 regression where "import *" would not work for sqlalchemy.sql.expression, due to mis-spelled "any_" and "all_" functions. Change-Id: I25d1cd34c9239dbdcdb1889c5cda2474557e1418 Fixes: #3878 --- doc/build/changelog/changelog_11.rst | 8 ++++++++ lib/sqlalchemy/sql/expression.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index 8ac2418893..873dc07d48 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -21,6 +21,14 @@ .. changelog:: :version: 1.1.5 + .. change:: 3878 + :tags: bug, sql + :tickets: 3878 + + Fixed 1.1 regression where "import *" would not work for + sqlalchemy.sql.expression, due to mis-spelled "any_" and "all_" + functions. + .. change:: 3877 :tags: bug, oracle, postgresql :tickets: 3877 diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index cbb123ec63..325c222eb4 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -15,7 +15,7 @@ class. """ __all__ = [ - 'Alias', 'Any', 'All', 'ClauseElement', 'ColumnCollection', 'ColumnElement', + 'Alias', 'any_', 'all_', 'ClauseElement', 'ColumnCollection', 'ColumnElement', 'CompoundSelect', 'Delete', 'FromClause', 'Insert', 'Join', 'Lateral', 'Select', 'Selectable', 'TableClause', 'Update', 'alias', 'and_', 'asc', 'between', -- 2.47.3