summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/ext.py
diff options
context:
space:
mode:
authorGord Thompson <gord@gordthompson.com>2021-02-17 11:58:27 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2021-02-18 15:25:08 -0500
commitdeaefbe748a43b9f84dabc232f0c20e065864a14 (patch)
treeb78224a058f186fad69b779c530542bd9b668211 /lib/sqlalchemy/dialects/postgresql/ext.py
parentf41b9cbcdb0b6116cc3e2d15f53983516d82b06d (diff)
downloadsqlalchemy-deaefbe748a43b9f84dabc232f0c20e065864a14.tar.gz
Deprecate and rename schema .copy() methods
Fixes: #5953 Change-Id: I1e69a1628e408f06b43efbc0cc52fc0ad1e8cbc4
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/ext.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/ext.py b/lib/sqlalchemy/dialects/postgresql/ext.py
index a93a3477d..71a0aa5a6 100644
--- a/lib/sqlalchemy/dialects/postgresql/ext.py
+++ b/lib/sqlalchemy/dialects/postgresql/ext.py
@@ -241,7 +241,7 @@ class ExcludeConstraint(ColumnCollectionConstraint):
)
]
- def copy(self, target_table=None, **kw):
+ def _copy(self, target_table=None, **kw):
elements = [
(
schema._copy_expression(expr, self.parent, target_table),