]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
re-establish section on why __init__ not called on load
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Jan 2024 14:17:31 +0000 (09:17 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 26 Jan 2024 14:19:18 +0000 (09:19 -0500)
commitf7b40c0102c33faf350917f5b98c61d4c6fbec90
tree16e434c517926dc8d307088c89e985d12b32d047
parente7cda85d81038cf390a15b93d5276754a8cc2514
re-establish section on why __init__ not called on load

this section got lost, leaving the FAQ to point to an
empty document.  Rewrite a new section introducing that
__init__ is not called on load, illustrate strategies.

I am not that happy with *where* this doc is, as this is
supposed to be "mapping styles" high level introductory
type stuff, but there's nowhere else for it.

References: https://github.com/sqlalchemy/sqlalchemy/discussions/10923
Change-Id: Ie9260e4076bc82da0ef6dc11349a85beb0223a33
doc/build/faq/sessions.rst
doc/build/orm/mapping_styles.rst
lib/sqlalchemy/orm/events.py