diff options
author | Gord Thompson <gord@gordthompson.com> | 2021-02-17 11:58:27 -0700 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-18 15:25:08 -0500 |
commit | deaefbe748a43b9f84dabc232f0c20e065864a14 (patch) | |
tree | b78224a058f186fad69b779c530542bd9b668211 /lib/sqlalchemy/dialects/postgresql/ext.py | |
parent | f41b9cbcdb0b6116cc3e2d15f53983516d82b06d (diff) | |
download | sqlalchemy-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.py | 2 |
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), |