summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-03-30 11:44:23 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-03-30 11:44:23 -0400
commit9731484f5c991b56e64349ef7b9775ef83b18402 (patch)
treed0886a52ea3ccb572d8a021ef6765334991e2244
parent85a4c7f3d5c6f5a71a705b198e3eaa9affc11ae9 (diff)
downloadsqlalchemy-9731484f5c991b56e64349ef7b9775ef83b18402.tar.gz
further changelog / doc fixes
Change-Id: I959f242272ff5147b7c1f721cf119d09309a8c57
-rw-r--r--doc/build/changelog/unreleased_14/7860.rst2
-rw-r--r--doc/build/core/metadata.rst2
-rw-r--r--lib/sqlalchemy/sql/schema.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/changelog/unreleased_14/7860.rst b/doc/build/changelog/unreleased_14/7860.rst
index 40ecf38fd..cc41aa00b 100644
--- a/doc/build/changelog/unreleased_14/7860.rst
+++ b/doc/build/changelog/unreleased_14/7860.rst
@@ -5,7 +5,7 @@
Added support so that the :paramref:`.Table.to_metadata.referred_schema_fn`
callable passed to :meth:`.Table.to_metadata` may return the value
:attr:`.BLANK_SCHEMA` to indicate that the referenced foreign key should be
- reset to None. The :attr:`RETAIN_SCHEMA` symbol may also be returned from
+ reset to None. The :attr:`.RETAIN_SCHEMA` symbol may also be returned from
this function to indicate "no change", which will behave the same as
``None`` currently does which also indicates no change.
diff --git a/doc/build/core/metadata.rst b/doc/build/core/metadata.rst
index a9d43e182..e4f06f1a5 100644
--- a/doc/build/core/metadata.rst
+++ b/doc/build/core/metadata.rst
@@ -576,7 +576,7 @@ Column, Table, MetaData API
Symbol indicating that a :class:`_schema.Table`, :class:`.Sequence`
or in some cases a :class:`_schema.ForeignKey` object, in situations
- where the object is being copied for a :meth:`.MetaData.to_metadata`
+ where the object is being copied for a :meth:`.Table.to_metadata`
operation, should retain the schema name that it already has.
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index b39579179..2118868fc 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -91,7 +91,7 @@ RETAIN_SCHEMA = util.symbol(
"retain_schema"
"""Symbol indicating that a :class:`_schema.Table`, :class:`.Sequence`
or in some cases a :class:`_schema.ForeignKey` object, in situations
- where the object is being copied for a :meth:`.MetaData.to_metadata`
+ where the object is being copied for a :meth:`.Table.to_metadata`
operation, should retain the schema name that it already has.
"""