diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-11-30 15:54:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-11-30 15:54:29 +0000 |
commit | 55e0497b080bf7f5159faa5abcb341269ebfdc7f (patch) | |
tree | 69dafd9e6d50c3d3642356b5bd937bc8cd448e7e /lib/sqlalchemy | |
parent | 88fcaf3781ad73c17efdc8f94d4723d8055889ae (diff) | |
parent | 2432d2ed0b28480c0e1004a47aa74238865105b5 (diff) | |
download | sqlalchemy-55e0497b080bf7f5159faa5abcb341269ebfdc7f.tar.gz |
Merge "Fixes: #4390" into main
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r-- | lib/sqlalchemy/orm/strategy_options.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/orm/strategy_options.py b/lib/sqlalchemy/orm/strategy_options.py index eccb42164..363307bfd 100644 --- a/lib/sqlalchemy/orm/strategy_options.py +++ b/lib/sqlalchemy/orm/strategy_options.py @@ -918,6 +918,15 @@ class _UnboundLoad(Load): return (_DEFAULT_TOKEN,) # coerce fooload(".*") into "wildcard on default entity" elif key.startswith("." + _WILDCARD_TOKEN): + util.warn_deprecated( + "The undocumented `.{WILDCARD}` format is deprecated " + "and will be removed in a future version as it is " + "believed to be unused. " + "If you have been using this functionality, please " + "comment on Issue #4390 on the SQLAlchemy project " + "tracker.", + version="1.4", + ) key = key[1:] return key.split(".") else: |