]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add Mapped to attrs example
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Oct 2022 13:05:05 +0000 (09:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Oct 2022 13:05:05 +0000 (09:05 -0400)
commitf21f84d47d708211ee32b1ad2ca70bf9fa2d8e96
tree2a22c9de209ead03f2cd9c7dd76aca1d2153fa99
parented7bef700477ac85819040478ce2f2cca78c5700
add Mapped to attrs example

this doesn't work if we dont include this,
or the `__allow_unmapped__` thing, but `Mapped[]` is nicer

Change-Id: Iccdeb865d4e615ea6740720f6656e2558a2b36b8
References: #8740
doc/build/orm/dataclasses.rst