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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py
index 086cef48a..d60afdbac 100644
--- a/lib/sqlalchemy/sql/selectable.py
+++ b/lib/sqlalchemy/sql/selectable.py
@@ -1238,6 +1238,7 @@ class Join(roles.DMLTableRole, FromClause):
@util.deprecated_20(
":attr:`.Executable.bind`",
alternative="Bound metadata is being removed as of SQLAlchemy 2.0.",
+ enable_warnings=False,
)
def bind(self):
"""Return the bound engine associated with either the left or right
@@ -3559,6 +3560,7 @@ class CompoundSelect(HasCompileState, GenerativeSelect):
@util.deprecated_20(
":attr:`.Executable.bind`",
alternative="Bound metadata is being removed as of SQLAlchemy 2.0.",
+ enable_warnings=False,
)
def bind(self):
"""Returns the :class:`_engine.Engine` or :class:`_engine.Connection`
@@ -5443,6 +5445,7 @@ class Select(
@util.deprecated_20(
":attr:`.Executable.bind`",
alternative="Bound metadata is being removed as of SQLAlchemy 2.0.",
+ enable_warnings=False,
)
def bind(self):
"""Returns the :class:`_engine.Engine` or :class:`_engine.Connection`