diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2022-04-15 14:58:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2022-04-15 14:58:04 +0000 |
commit | 07b9788690e45ea3a25cece6220cd255a16cadaf (patch) | |
tree | 974fd5d639570977d310b8f507dbb5d7e89ba1eb /lib/sqlalchemy/sql/selectable.py | |
parent | dd414e7eaba595a333e593865196de1fd91fe6db (diff) | |
parent | c932123bacad9bf047d160b85e3f95d396c513ae (diff) | |
download | sqlalchemy-07b9788690e45ea3a25cece6220cd255a16cadaf.tar.gz |
Merge "pep484: schema API" into main
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 99a6baa89..aab3c678c 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -794,7 +794,7 @@ class FromClause(roles.AnonymizedFromClauseRole, Selectable): col._make_proxy(fromclause) for col in self.c ) - @property + @util.ro_non_memoized_property def exported_columns(self) -> ReadOnlyColumnCollection[str, Any]: """A :class:`_expression.ColumnCollection` that represents the "exported" @@ -2779,22 +2779,6 @@ class Subquery(AliasedReturnsRows): def as_scalar(self): return self.element.set_label_style(LABEL_STYLE_NONE).scalar_subquery() - def _execute_on_connection( - self, - connection, - distilled_params, - execution_options, - ): - util.warn_deprecated( - "Executing a subquery object is deprecated and will raise " - "ObjectNotExecutableError in an upcoming release. Please " - "execute the underlying select() statement directly.", - "1.4", - ) - return self.element._execute_on_connection( - connection, distilled_params, execution_options, _force=True - ) - class FromGrouping(GroupedElement, FromClause): """Represent a grouping of a FROM clause""" |