]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Clarify init_scalar event use case
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Sep 2018 14:44:09 +0000 (10:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Sep 2018 14:44:09 +0000 (10:44 -0400)
commit71b01adc7b31baab7bbcf40123633b87ee53bf64
treef0113362f57317ff9c3019e816c40557aca4c828
parent081d4275cf5c3e6842c8e0198542ff89617eaa96
Clarify init_scalar event use case

Since I didn't even realize what this was for when reading the docs,
make it clearer that this is to mirror a Column default and remove
the extra verbiage about the mechanics of INSERTs.

Change-Id: Id2c6a29800f7b723573610e4707aec7e6ea38f5f
examples/custom_attributes/active_column_defaults.py
lib/sqlalchemy/orm/events.py