diff options
Diffstat (limited to 'lib/sqlalchemy/orm/relationships.py')
-rw-r--r-- | lib/sqlalchemy/orm/relationships.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/sqlalchemy/orm/relationships.py b/lib/sqlalchemy/orm/relationships.py index 731947cba..a8013f36d 100644 --- a/lib/sqlalchemy/orm/relationships.py +++ b/lib/sqlalchemy/orm/relationships.py @@ -107,15 +107,6 @@ class RelationshipProperty(StrategizedProperty): _dependency_processor = None - @util.deprecated_params( - extension=( - "0.7", - ":class:`.AttributeExtension` is deprecated in favor of the " - ":class:`.AttributeEvents` listener interface. The " - ":paramref:`.relationship.extension` parameter will be " - "removed in a future release.", - ) - ) def __init__( self, argument, @@ -129,7 +120,6 @@ class RelationshipProperty(StrategizedProperty): back_populates=None, post_update=False, cascade=False, - extension=None, viewonly=False, lazy="select", collection_class=None, @@ -415,11 +405,6 @@ class RelationshipProperty(StrategizedProperty): :param doc: docstring which will be applied to the resulting descriptor. - :param extension: - an :class:`.AttributeExtension` instance, or list of extensions, - which will be prepended to the list of attribute listeners for - the resulting descriptor placed on the class. - :param foreign_keys: a list of columns which are to be used as "foreign key" @@ -865,7 +850,6 @@ class RelationshipProperty(StrategizedProperty): self.join_depth = join_depth self.omit_join = omit_join self.local_remote_pairs = _local_remote_pairs - self.extension = extension self.bake_queries = bake_queries self.load_on_pending = load_on_pending self.comparator_factory = ( |