diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-10-31 09:30:12 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-10-31 09:33:58 -0400 |
commit | 9fc54801c8235a6327e0ce80b145f7ba756ae47a (patch) | |
tree | fcdf4786cc495a85d9b44b8ed43c6c650ed6d9f7 /lib/sqlalchemy/sql/compiler.py | |
parent | 77adce762b2a9ea19fcd72a28482faf63cef4844 (diff) | |
download | sqlalchemy-9fc54801c8235a6327e0ce80b145f7ba756ae47a.tar.gz |
Cache every key in reflection_cache
Fixed bug in :class:`.Inspector` where the cache key generation did not
take into account arguments passed in the form of tuples, such as the tuple
of view name styles to return for the PostgreSQL dialect. This would lead
the inspector to cache too generally for a more specific set of criteria.
The logic has been adjusted to include every keyword element in the cache,
as every argument is expected to be appropriate for a cache else the
caching decorator should be bypassed by the dialect.
Fixes: #4955
Change-Id: Icd97744323407977a3f7db26e8a63a1a5c576010
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions