From: Mike Bayer Date: Mon, 22 Aug 2022 17:55:08 +0000 (-0400) Subject: more function adjustments X-Git-Tag: rel_1_4_41~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ffca71b9032a3168c9c946f88eb144b2ec87e64;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git more function adjustments the inherited-members feature works very poorly and inconsistently in sphinx. just dont use it here as it refuses to exclude ColumnOperators methods Change-Id: Ic50865c9901e7225a99ff7f33454da15ff91b12f (cherry picked from commit 25fa4c0250730958c39676007cc39df7b0ee2124) --- diff --git a/doc/build/core/functions.rst b/doc/build/core/functions.rst index 00e384679c..efa7c78d33 100644 --- a/doc/build/core/functions.rst +++ b/doc/build/core/functions.rst @@ -25,9 +25,6 @@ namespace as well as classes that may be used for extensibility. :exclude-members: inherit_cache, __new__ .. autoclass:: Function - :members: - :inherited-members: ColumnElement - :exclude-members: inherit_cache, __new__ .. autoclass:: FunctionElement :members: diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py index 29f41223d3..2b264e5bf9 100644 --- a/lib/sqlalchemy/sql/functions.py +++ b/lib/sqlalchemy/sql/functions.py @@ -528,7 +528,7 @@ class FunctionElement(Executable, ColumnElement, FromClause, Generative): in the columns or where clause, for a backend such as PostgreSQL. For a full table-valued expression, use the - :meth:`_function.FunctionElement.table_valued` method first to + :meth:`_functions.FunctionElement.table_valued` method first to establish named columns. e.g.::