]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
docs: Clarify that relationship() first parameter is positional (#12621)
authorkrave1986 <krave@qq.com>
Fri, 23 May 2025 20:23:00 +0000 (04:23 +0800)
committerGitHub <noreply@github.com>
Fri, 23 May 2025 20:23:00 +0000 (22:23 +0200)
doc/build/orm/basic_relationships.rst

index a1bdb0525c304268881bead935e949cee9f05027..b4a3ed2b5f5da3caf3f798c3a1b0e8c657afc28d 100644 (file)
@@ -1018,7 +1018,7 @@ within any of these string expressions::
 
 In an example like the above, the string passed to :class:`_orm.Mapped`
 can be disambiguated from a specific class argument by passing the class
-location string directly to :paramref:`_orm.relationship.argument` as well.
+location string directly to the first positional parameter (:paramref:`_orm.relationship.argument`) as well.
 Below illustrates a typing-only import for ``Child``, combined with a
 runtime specifier for the target class that will search for the correct
 name within the :class:`_orm.registry`::