]> 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:41:34 +0000 (17:41 -0400)
commit61c47cbdc6058c040b301caa0864710a8d85d3a4
tree109d512de7613f2f8496e285b39426b485321d2b
parent1c3e92627362604472ca483055fc827a97942e6b
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
doc/build/changelog/unreleased_13/4653.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/sql/test_functions.py