diff options
author | jonathan vanasco <jonathan@2xlp.com> | 2021-09-27 12:51:32 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-11-08 13:25:51 -0500 |
commit | 2432d2ed0b28480c0e1004a47aa74238865105b5 (patch) | |
tree | 14c0478ec6a8e54a82e0fa8b52652184a93a2220 /lib/sqlalchemy/orm/attributes.py | |
parent | d80f5277e1c6a6043408244288effb08713c8d70 (diff) | |
download | sqlalchemy-2432d2ed0b28480c0e1004a47aa74238865105b5.tar.gz |
Fixes: #4390
Deprecated an undocumented loader option syntax ``".*"``, which appears to
be no different than passing a single asterisk, and will emit a deprecation
warning if used. This syntax may have been intended for something but there
is currently no need for it.
The original ticket was to document the `.{WILDCARD}` (e.g. `.*`) format,
however this format does not appear to be used or needed by SQLAlchemy
and is likely not used by any projects or developers.
This PR invokes `util.warn_deprecated` to notify users this functionality
is deprecated, and directs them to the #4390 issue if they actually use it.
Assuming there are no complaints over this warning in the coming months,
this code can be removed in a future major release.
Change-Id: I665e3ac26be0a7819246a2ee56fb5a5f32980c91
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
0 files changed, 0 insertions, 0 deletions