From: Mike Bayer Date: Sun, 13 Jan 2019 17:36:21 +0000 (-0500) Subject: correct paramref to property links to refer to creation function X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc5f7b2fa88718da63936c80187bdc3a9728ac8c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git correct paramref to property links to refer to creation function Change-Id: I2c528bd4639863aa7b8a592beed776d53bab3e5c (cherry picked from commit b229a50c7786d8cbe65a2bf471b57a806f4259e3) --- diff --git a/lib/sqlalchemy/orm/descriptor_props.py b/lib/sqlalchemy/orm/descriptor_props.py index 549a949216..4d03b56a8a 100644 --- a/lib/sqlalchemy/orm/descriptor_props.py +++ b/lib/sqlalchemy/orm/descriptor_props.py @@ -148,7 +148,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 9838da4bff..7038e83106 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -2114,7 +2114,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 8d7a00f75c..2880913a0e 100644 --- a/lib/sqlalchemy/orm/properties.py +++ b/lib/sqlalchemy/orm/properties.py @@ -116,7 +116,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 0d36232965..7ac5c1bc8d 100644 --- a/lib/sqlalchemy/orm/relationships.py +++ b/lib/sqlalchemy/orm/relationships.py @@ -396,7 +396,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: