diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-04-14 19:48:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-04-14 19:48:20 +0000 |
| commit | d9b230e78c70c17a6856f4ff3b8380b9ce510702 (patch) | |
| tree | 3e1583daaa76cff27fbdf5de8b3b1f63c00a1225 /lib/sqlalchemy/ext/mutable.py | |
| parent | f39cf13680a0ee5b190d498d29ea31c76f546dfb (diff) | |
| parent | cea03be855514d592b6671fa6dbc074a19a795fb (diff) | |
| download | sqlalchemy-d9b230e78c70c17a6856f4ff3b8380b9ce510702.tar.gz | |
Merge "Run search and replace of symbolic module names"
Diffstat (limited to 'lib/sqlalchemy/ext/mutable.py')
| -rw-r--r-- | lib/sqlalchemy/ext/mutable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 5523fe75d..32a22a495 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -39,7 +39,7 @@ JSON strings before being persisted:: The usage of ``json`` is only for the purposes of example. The :mod:`sqlalchemy.ext.mutable` extension can be used with any type whose target Python type may be mutable, including -:class:`.PickleType`, :class:`.postgresql.ARRAY`, etc. +:class:`.PickleType`, :class:`_postgresql.ARRAY`, etc. When using the :mod:`sqlalchemy.ext.mutable` extension, the value itself tracks all parents which reference it. Below, we illustrate a simple @@ -270,7 +270,7 @@ and to also route attribute set events via ``__setattr__`` to the return not self.__eq__(other) The :class:`.MutableComposite` class uses a Python metaclass to automatically -establish listeners for any usage of :func:`.orm.composite` that specifies our +establish listeners for any usage of :func:`_orm.composite` that specifies our ``Point`` type. Below, when ``Point`` is mapped to the ``Vertex`` class, listeners are established which will route change events from ``Point`` objects to each of the ``Vertex.start`` and ``Vertex.end`` attributes:: |
