diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-04-10 17:52:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-04-10 17:52:47 +0000 |
commit | 1ff644d2f16a7517df7f175e1291ddaa501646dd (patch) | |
tree | a8f6e624e1500f3b77e43a22eaeb0e7b8ff20100 /lib/sqlalchemy/sql/coercions.py | |
parent | fe591913030a244a9ccfdd47b371609f1f1b44af (diff) | |
parent | a9b068ae564e5e775e312373088545b75aeaa1b0 (diff) | |
download | sqlalchemy-1ff644d2f16a7517df7f175e1291ddaa501646dd.tar.gz |
Merge "Remove code deprecated before version 1.1"
Diffstat (limited to 'lib/sqlalchemy/sql/coercions.py')
-rw-r--r-- | lib/sqlalchemy/sql/coercions.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sqlalchemy/sql/coercions.py b/lib/sqlalchemy/sql/coercions.py index e605b486b..fc168aa1d 100644 --- a/lib/sqlalchemy/sql/coercions.py +++ b/lib/sqlalchemy/sql/coercions.py @@ -191,7 +191,8 @@ class _ColumnCoercions(object): "column-expression context is deprecated in version 1.4; " "please use the .scalar_subquery() method to produce a scalar " "subquery. This automatic coercion will be removed in a " - "future release." + "future release.", + version="1.4", ) def _implicit_coercions( @@ -614,7 +615,8 @@ class FromClauseImpl( "Implicit coercion of SELECT and textual SELECT " "constructs into FROM clauses is deprecated; please call " ".subquery() on any Core select or ORM Query object in " - "order to produce a subquery object." + "order to produce a subquery object.", + version="1.4", ) return resolved._implicit_subquery elif resolved._is_text_clause: @@ -637,7 +639,8 @@ class StrictFromClauseImpl(FromClauseImpl, roles.StrictFromClauseRole): "Implicit coercion of SELECT and textual SELECT constructs " "into FROM clauses is deprecated; please call .subquery() " "on any Core select or ORM Query object in order to produce a " - "subquery object." + "subquery object.", + version="1.4", ) return resolved._implicit_subquery else: |