diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-07-03 13:55:20 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-07-03 13:55:20 -0400 |
commit | 4173a0be5fcf05faea0969fc48f590afbf3313f0 (patch) | |
tree | 8b9bcb8d5fd9291209c7d72bd8760dccb919ab08 /lib/sqlalchemy/orm/context.py | |
parent | 4b3f204d07d53ae09b59ce8f33b534f26a605cd4 (diff) | |
download | sqlalchemy-4173a0be5fcf05faea0969fc48f590afbf3313f0.tar.gz |
test transfer of default, insert_default
right now "default" goes to Column.default unconditionally
if insert_default is not present, including if dataclasses
are in use where the field effectively now does two things.
This generally works out because Python side default
can be assigned to the object or picked up by Core in any case.
However, we might want to look into later on migrating this
to have the fields act more separately. I think it's
"OK" for now, will try to doc that this might change.
Change-Id: I30f2085ec79a6464da4d5c578500848c70d55ec2
Diffstat (limited to 'lib/sqlalchemy/orm/context.py')
0 files changed, 0 insertions, 0 deletions