diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-10-05 21:28:48 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-10-06 19:17:35 -0400 |
commit | 08757f05e027ead82a24cd8b7d4a3e90c5b01b59 (patch) | |
tree | 33670c405892d449d298e56807ef7be6a3f74adc /lib/sqlalchemy/orm/interfaces.py | |
parent | c6abd4766abb0396c9bf532d81d16226b970a35a (diff) | |
download | sqlalchemy-08757f05e027ead82a24cd8b7d4a3e90c5b01b59.tar.gz |
Remove deprecated extension and similar classes
All long-deprecated "extension" classes have been removed, including
MapperExtension, SessionExtension, PoolListener, ConnectionProxy,
AttributExtension. These classes have been deprecated since version 0.7
long superseded by the event listener system.
Fixes: #4638
Change-Id: If4156d4956b10847bd93b6408a7c52ff5168db9b
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
-rw-r--r-- | lib/sqlalchemy/orm/interfaces.py | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py index d6bdfb924..09d1858b9 100644 --- a/lib/sqlalchemy/orm/interfaces.py +++ b/lib/sqlalchemy/orm/interfaces.py @@ -9,11 +9,9 @@ Contains various base classes used throughout the ORM. -Defines some key base classes prominent within the internals, -as well as the now-deprecated ORM extension classes. +Defines some key base classes prominent within the internals. -Other than the deprecated extensions, this module and the -classes within are mostly private, though some attributes +This module and the classes within are mostly private, though some attributes are exposed when inspecting mappings. """ @@ -40,11 +38,7 @@ from .. import util from ..sql import operators -# imported later -MapperExtension = SessionExtension = AttributeExtension = None - __all__ = ( - "AttributeExtension", "EXT_CONTINUE", "EXT_STOP", "EXT_SKIP", @@ -53,11 +47,9 @@ __all__ = ( "MANYTOONE", "NOT_EXTENSION", "LoaderStrategy", - "MapperExtension", "MapperOption", "MapperProperty", "PropComparator", - "SessionExtension", "StrategizedProperty", ) |