]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
further changelog / doc fixes
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2022 15:44:23 +0000 (11:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2022 15:44:46 +0000 (11:44 -0400)
Change-Id: I959f242272ff5147b7c1f721cf119d09309a8c57
(cherry picked from commit 9731484f5c991b56e64349ef7b9775ef83b18402)

doc/build/changelog/unreleased_14/7860.rst
doc/build/core/metadata.rst
lib/sqlalchemy/sql/schema.py

index 40ecf38fda4531a60d58aea5714db0faa3ad33e7..cc41aa00bfb6dd37c678a62d8533e631c0d5e467 100644 (file)
@@ -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.
 
index a8fc2e4748473b4f79dec96544f02049b5f2ccaf..7c5b7dd668d554219da96b3681a13c42ca54c412 100644 (file)
@@ -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.
 
 
index 0667370be66e50dd92da14ce9776ba348a33dce1..621efd36ce196f0ba8368913b9b0874b7fd9d7fd 100644 (file)
@@ -62,7 +62,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.
 
     """