From 1bfdaf307c282cb35f203d1549b7ca9172d2f57b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 13 Jan 2019 12:36:21 -0500 Subject: [PATCH] correct paramref to property links to refer to creation function Change-Id: I2c528bd4639863aa7b8a592beed776d53bab3e5c (cherry picked from commit b229a50c7786d8cbe65a2bf471b57a806f4259e3) --- lib/sqlalchemy/orm/descriptor_props.py | 2 +- lib/sqlalchemy/orm/events.py | 2 +- lib/sqlalchemy/orm/properties.py | 2 +- lib/sqlalchemy/orm/relationships.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/sqlalchemy/orm/descriptor_props.py b/lib/sqlalchemy/orm/descriptor_props.py index 3014454a97..8e09c88cd6 100644 --- a/lib/sqlalchemy/orm/descriptor_props.py +++ b/lib/sqlalchemy/orm/descriptor_props.py @@ -151,7 +151,7 @@ class CompositeProperty(DescriptorProperty): :class:`.AttributeExtension` is deprecated in favor of the :class:`.AttributeEvents` listener interface. The - :paramref:`.CompositeProperty.extension` parameter will be + :paramref:`.composite.extension` parameter will be removed in a future release. """ diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index 2eb4e0a888..338ce13429 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -2213,7 +2213,7 @@ class AttributeEvents(event.Events): be the :class:`.InstanceState` object. :param collection: the new collection. This will always be generated from what was specified as - :paramref:`.RelationshipProperty.collection_class`, and will always + :paramref:`.relationship.collection_class`, and will always be empty. :param collection_adpater: the :class:`.CollectionAdapter` that will mediate internal access to the collection. diff --git a/lib/sqlalchemy/orm/properties.py b/lib/sqlalchemy/orm/properties.py index f1fd3e348c..8bf26056cd 100644 --- a/lib/sqlalchemy/orm/properties.py +++ b/lib/sqlalchemy/orm/properties.py @@ -129,7 +129,7 @@ class ColumnProperty(StrategizedProperty): :class:`.AttributeExtension` is deprecated in favor of the :class:`.AttributeEvents` listener interface. The - :paramref:`.ColumnProperty.extension` parameter will be + :paramref:`.column_property.extension` parameter will be removed in a future release. """ diff --git a/lib/sqlalchemy/orm/relationships.py b/lib/sqlalchemy/orm/relationships.py index 97d3fe7da2..153d631f98 100644 --- a/lib/sqlalchemy/orm/relationships.py +++ b/lib/sqlalchemy/orm/relationships.py @@ -413,7 +413,7 @@ class RelationshipProperty(StrategizedProperty): :class:`.AttributeExtension` is deprecated in favor of the :class:`.AttributeEvents` listener interface. The - :paramref:`.RelationshipProperty.extension` parameter will be + :paramref:`.relationship.extension` parameter will be removed in a future release. :param foreign_keys: -- 2.47.2