]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove insanely old note from 12 years ago
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 May 2022 13:48:05 +0000 (09:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 May 2022 13:48:05 +0000 (09:48 -0400)
Change-Id: Id0929b6bc062fc4766c9c69427524e3cd2da1030

doc/build/orm/collections.rst

index b19c7250533202e6cf70483951944e0fb66dbdcb..89d1e43048e600fab80b2fc8b5d7bdd1e1b8220a 100644 (file)
@@ -622,21 +622,6 @@ must decorate appender and remover methods, however- there are no compatible
 methods in the basic dictionary interface for SQLAlchemy to use by default.
 Iteration will go through ``itervalues()`` unless otherwise decorated.
 
-.. note::
-
-   Due to a bug in MappedCollection prior to version 0.7.6, this
-   workaround usually needs to be called before a custom subclass
-   of :class:`.MappedCollection` which uses :meth:`.collection.internally_instrumented`
-   can be used::
-
-    from sqlalchemy.orm.collections import MappedCollection, _instrument_class
-
-    _instrument_class(MappedCollection)
-
-   This will ensure that the :class:`.MappedCollection` has been properly
-   initialized with custom ``__setitem__()`` and ``__delitem__()``
-   methods before used in a custom subclass.
-
 .. autoclass:: sqlalchemy.orm.collections.MappedCollection
    :members: