From 11e9bc8125125f2c4ca61150b2e248f28f0c9c9d Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 31 Jan 2023 11:04:03 -0500 Subject: [PATCH] consolidate warning re: selectinload.recursion_depth Change-Id: I527c5ba52451cd8a926ddea8e5469b9390cfcb27 References: #9199 --- lib/sqlalchemy/orm/strategy_options.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/orm/strategy_options.py b/lib/sqlalchemy/orm/strategy_options.py index 60f07b83cc..bd1f768b7a 100644 --- a/lib/sqlalchemy/orm/strategy_options.py +++ b/lib/sqlalchemy/orm/strategy_options.py @@ -400,8 +400,9 @@ class _AbstractLoad(traversals.GenerativeOnTraversal, LoaderOption): is not yet an option to automatically traverse recursive structures with more than one relationship involved. - .. warning:: This parameter is new and experimental and should be - treated as "alpha" status + Additionally, the :paramref:`_orm.selectinload.recursion_depth` + parameter is new and experimental and should be treated as "alpha" + status for the 2.0 series. .. versionadded:: 2.0 added :paramref:`_orm.selectinload.recursion_depth` -- 2.47.2