summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2021-11-30 15:54:29 +0000
committerGerrit Code Review <gerrit@ci3.zzzcomputing.com>2021-11-30 15:54:29 +0000
commit55e0497b080bf7f5159faa5abcb341269ebfdc7f (patch)
tree69dafd9e6d50c3d3642356b5bd937bc8cd448e7e /lib/sqlalchemy
parent88fcaf3781ad73c17efdc8f94d4723d8055889ae (diff)
parent2432d2ed0b28480c0e1004a47aa74238865105b5 (diff)
downloadsqlalchemy-55e0497b080bf7f5159faa5abcb341269ebfdc7f.tar.gz
Merge "Fixes: #4390" into main
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/orm/strategy_options.py9
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: