summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/selectable.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r--lib/sqlalchemy/sql/selectable.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py
index 1d283e83c..54230d58a 100644
--- a/lib/sqlalchemy/sql/selectable.py
+++ b/lib/sqlalchemy/sql/selectable.py
@@ -3413,7 +3413,8 @@ class SelectBase(
"""
return self.selected_columns.as_readonly()
- @util.deprecated_property(
+ @property
+ @util.deprecated(
"1.4",
"The :attr:`_expression.SelectBase.c` and "
":attr:`_expression.SelectBase.columns` attributes "
@@ -5531,7 +5532,8 @@ class Select(
return self._compile_state_factory(self, None)._get_display_froms()
- @util.deprecated_property(
+ @property
+ @util.deprecated(
"1.4.23",
"The :attr:`_expression.Select.froms` attribute is moved to "
"the :meth:`_expression.Select.get_final_froms` method.",