summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/_elements_constructors.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-10-07 14:03:16 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-10-11 10:23:08 -0400
commit4ef7bcf580844a431c5354896e954ca4ce1042ce (patch)
treea57cbd80bc367ff2296bb8338188a364f9e0b66b /lib/sqlalchemy/sql/_elements_constructors.py
parent231897cf10d731c6bab4bca562374c60558a0177 (diff)
downloadsqlalchemy-4ef7bcf580844a431c5354896e954ca4ce1042ce.tar.gz
rename MappedCollection and related
For consistency with the prominent ORM concept :class:`_orm.Mapped`, the names of the dictionary-oriented collections, :func:`_orm.attribute_mapped_collection`, :func:`_orm.column_mapped_collection`, and :class:`_orm.MappedCollection`, are changed to :func:`_orm.attribute_keyed_dict`, :func:`_orm.column_keyed_dict` and :class:`_orm.KeyFuncDict`, using the phrase "dict" to minimize any confusion against the term "mapped". The old names will remain indefinitely with no schedule for removal. Docs here are also updated for typing as we can type these collections as ``Mapped[dict[str, cls]]``, don't need KeyFuncDict / MappedCollection for these Fixes: #8608 Change-Id: Ib5cf63e0aef1c389e023a75e454bb21f9d779b54
Diffstat (limited to 'lib/sqlalchemy/sql/_elements_constructors.py')
0 files changed, 0 insertions, 0 deletions