]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add missing range_ / rows parameters to additional over() methods
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Aug 2018 02:19:59 +0000 (22:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 20 Aug 2018 02:22:34 +0000 (22:22 -0400)
commit759f676ae00ed3623621cf0287be0ff3498afe16
treef0e942ca2130e4bec6a5da4607656508d4aa9151
parent453690f9fa2a6be1a0ab9b3c692c95acd10243e6
Add missing range_ / rows parameters to additional over() methods

Added missing window function parameters
:paramref:`.WithinGroup.over.range_` and :paramref:`.WithinGroup.over.rows`
parameters to the :meth:`.WithinGroup.over` and
:meth:`.FunctionFilter.over` methods, to correspond to the range/rows
feature added to the "over" method of SQL functions as part of
:ticket:`3049` in version 1.1.

Fixes: #4322
Change-Id: I77dcdac65c699a4b52a3fc3ee09a100ffb4fc20e
(cherry picked from commit 3e2f61c439dab76133a49b7a16b03bf4071d4c4c)
doc/build/changelog/unreleased_12/4322.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
test/sql/test_compiler.py
test/sql/test_functions.py