]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Document limitation in dataclass mapping styles
authorFederico Caselli <cfederico87@gmail.com>
Mon, 4 Dec 2023 20:14:45 +0000 (21:14 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 4 Dec 2023 21:51:33 +0000 (22:51 +0100)
commitce1b9655b066d426702fd391579c677b3af731ce
treeb92f226157a913a30dfe93ea20b02f0ab556c94f
parentefac23ed0f451490b32330d6425f9291af282eb8
Document limitation in dataclass mapping styles

Document that using default and init=False on a dataclass field mapped
imperatively or using imperative table will not work.

Change-Id: Id2e27e4f7f0cafc60be3f97b7945983360c0a7d2
References: #9879
(cherry picked from commit 06c5c8e955402af6c09b8a3c55cbdee3cd0e0393)
doc/build/orm/cascades.rst
doc/build/orm/dataclasses.rst
doc/build/orm/queryguide/dml.rst