diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-04-12 09:41:55 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-04-12 10:09:56 -0400 |
commit | 0bfb620009f668e97ad3c2c25a564ca36428b9ae (patch) | |
tree | f6b3b5328f35c512315b961e5925b6e8fb33d01d /lib/sqlalchemy/sql/_typing.py | |
parent | a45e2284dad17fbbba3bea9d5e5304aab21c8c94 (diff) | |
download | sqlalchemy-0bfb620009f668e97ad3c2c25a564ca36428b9ae.tar.gz |
Don't pass vistor to immutables in cloned traverse
Saw someone using cloned_traverse to move columns around
(changing their .table) and not surprisingly having poor results.
As cloned traversal is to provide a hook for in-place mutation
of elements, it should not be given Immutable objects as these
should not be changed once they are structurally composed.
Change-Id: I43b22f52f243ef481a75d2cf5ecc73d50f110a81
Diffstat (limited to 'lib/sqlalchemy/sql/_typing.py')
0 files changed, 0 insertions, 0 deletions