From 31c4d6c180f8e3592fe4990f97b11f6e8a5dd0bc Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sun, 2 Nov 2025 19:54:02 +0100 Subject: [PATCH] fix versionadded for aggregate_order_by Change-Id: I499e0501a20c72cb20ea580b307d4233ba01d508 --- lib/sqlalchemy/sql/_elements_constructors.py | 2 +- lib/sqlalchemy/sql/functions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.47.3