summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-05-23 09:48:05 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-05-23 09:49:01 -0400
commit9be00b932db79112931786728a6225979a17a594 (patch)
treeb63170eb19bcc5b563c13a948a9620a22aa53875
parent44f7bb169d99723417d25b69cedf57982efbf79f (diff)
downloadsqlalchemy-9be00b932db79112931786728a6225979a17a594.tar.gz
remove insanely old note from 12 years ago
Change-Id: Id0929b6bc062fc4766c9c69427524e3cd2da1030 (cherry picked from commit 853f726454cff2f34c010cbafacfec85f51f8eeb) (cherry picked from commit 7256643fd8bab26d389c872102b76a6fdef2731f)
-rw-r--r--doc/build/orm/collections.rst14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/build/orm/collections.rst b/doc/build/orm/collections.rst
index dbcd8d565..f8aa55c63 100644
--- a/doc/build/orm/collections.rst
+++ b/doc/build/orm/collections.rst
@@ -599,20 +599,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 _instrument_class, MappedCollection
- _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: