summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_reflection.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-03-26 10:09:10 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-03-26 10:11:31 -0400
commit74d3f3965b383aef7421f2cf1779573a4ac65987 (patch)
treeffbbe8818f23cbc1c4ace1888ca01ced4f4e8591 /test/dialect/postgresql/test_reflection.py
parent59308fd60fd8f7750205063134df4b944d12704b (diff)
downloadsqlalchemy-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