From: Federico Caselli Date: Sun, 2 Nov 2025 18:54:02 +0000 (+0100) Subject: fix versionadded for aggregate_order_by X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31c4d6c180f8e3592fe4990f97b11f6e8a5dd0bc;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix versionadded for aggregate_order_by Change-Id: I499e0501a20c72cb20ea580b307d4233ba01d508 --- diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py index 2b37c12d27..8b3248b9bc 100644 --- a/lib/sqlalchemy/sql/_elements_constructors.py +++ b/lib/sqlalchemy/sql/_elements_constructors.py @@ -2021,7 +2021,7 @@ def aggregate_order_by( :paramref:`_functions.aggregate_strings.order_by` parameter to indicate a dialect-agnostic ORDER BY expression. - .. versionadded:: 2.0.44 Generalized the PostgreSQL-specific + .. versionadded:: 2.1 Generalized the PostgreSQL-specific :func:`_postgresql.aggregate_order_by` function to a method on :class:`.Function` that is backend agnostic. diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py index dda890c0b5..d4aafd3625 100644 --- a/lib/sqlalchemy/sql/functions.py +++ b/lib/sqlalchemy/sql/functions.py @@ -483,7 +483,7 @@ class FunctionElement(Executable, ColumnElement[_T], FromClause, Generative): See :func:`_expression.aggregate_order_by` for a full description. - .. versionadded:: 2.0.44 Generalized the PostgreSQL-specific + .. versionadded:: 2.1 Generalized the PostgreSQL-specific :func:`_postgresql.aggregate_order_by` function to a method on :class:`.Function` that is backend agnostic.