]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
clarify alternative mapping example
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 3 Apr 2022 14:39:19 +0000 (10:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 3 Apr 2022 14:54:08 +0000 (10:54 -0400)
commit9f0e8b03f2922423a34b0a711642741b47a9bb2e
treea106a187b3eaa1b8999f5744e719440d9d54a821
parent7d012e60b0cd6e5c114ec0c86b3ca2e04cf8a8d7
clarify alternative mapping example

this second example is not part of the doctest steps,
clarify that it's not part of code examples to be present
in execution steps.   Add an extra registry +
declarative base on top
so that even if someone does run it, the Base will have
been reset and the examples will continue to work
(noting that column order in statements may change, but
probably nothing else).

Fixes: #7891
Change-Id: Icb1ba310230841e502185d9d0cadd3c18d467292
(cherry picked from commit 1dffb7cedeb009ca6c532db558bd0588dd846957)
doc/build/tutorial/metadata.rst