]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Do not register the GenericFunction in sql.functions._registry
authorAdrien Berchet <adrien.berchet@gmail.com>
Fri, 3 May 2019 16:02:17 +0000 (12:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 6 May 2019 21:42:18 +0000 (17:42 -0400)
commitbb07dc17bd6515dbbbae62991ef7a74368a847aa
treec8c65463bebf44f8136f50974015c140237b6b07
parentb058e7ae99890f981c8df016a314283a2a3f68a2
Do not register the GenericFunction in sql.functions._registry

Fixed that the :class:`.GenericFunction` class was inadvertently
registering itself as one of the named functions.  Pull request courtesy
Adrien Berchet.

Fixes: #4653
Closes: #4654
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4654
Pull-request-sha: 1112b89f0d5af8cd5ba88cef744698a79dbdb963

Change-Id: Ia0d366d3bff44a763aa496287814278dff732a19
(cherry picked from commit 61c47cbdc6058c040b301caa0864710a8d85d3a4)
doc/build/changelog/unreleased_13/4653.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/sql/test_functions.py