From: Jeff Balogh Date: Tue, 23 Jan 2024 19:25:10 +0000 (-0600) Subject: fix a docs typo (#10912) X-Git-Tag: rel_2_0_26~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d02b4152f61585da2c65e54ea6f33620183421b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix a docs typo (#10912) The code following this declaration suggests the employee.type should be `sysadmin` (cherry picked from commit abadb149597e5891551b84e47d3085c3f1753ef2) --- diff --git a/doc/build/orm/inheritance.rst b/doc/build/orm/inheritance.rst index fe3e06bf0f..574b4fc739 100644 --- a/doc/build/orm/inheritance.rst +++ b/doc/build/orm/inheritance.rst @@ -638,7 +638,7 @@ using :paramref:`_orm.Mapper.polymorphic_abstract` as follows:: class SysAdmin(Technologist): """a systems administrator""" - __mapper_args__ = {"polymorphic_identity": "engineer"} + __mapper_args__ = {"polymorphic_identity": "sysadmin"} In the above example, the new classes ``Technologist`` and ``Executive`` are ordinary mapped classes, and also indicate new columns to be added to the