diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-26 10:09:10 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-26 10:11:31 -0400 |
commit | 74d3f3965b383aef7421f2cf1779573a4ac65987 (patch) | |
tree | ffbbe8818f23cbc1c4ace1888ca01ced4f4e8591 /test/dialect/postgresql/test_reflection.py | |
parent | 59308fd60fd8f7750205063134df4b944d12704b (diff) | |
download | sqlalchemy-74d3f3965b383aef7421f2cf1779573a4ac65987.tar.gz |
support BLANK_SCHEMA, RETAIN_SCHEMA FK schema on copy
Added support so that the :paramref:`.Table.tometadata.referred_schema_fn`
callable passed to :meth:`.Table.to_metadata` may return the value
:data:`.BLANK_SCHEMA` to indicate that the referenced foreign key should be
reset to None. The :data.`RETAIN_SCHEMA` symbol may also be returned from
this function to indicate "no change", which will behave the same as
``None`` currently does which also indicates no change.
Fixes: #7860
Change-Id: I82a45988d534295d8356453f68001b21d4ff706d
Diffstat (limited to 'test/dialect/postgresql/test_reflection.py')
0 files changed, 0 insertions, 0 deletions