]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixes for public_factory and mysql/pg dml functions
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2020 19:53:21 +0000 (14:53 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2020 20:00:00 +0000 (15:00 -0500)
commit64952ac28b1911410f2b7c08a16492716689126d
treeaad1933678e2afcd4ecc56514fea22cf498dc934
parent4bd8a28bce111d2eec86d8ed4df65b4490947257
Fixes for public_factory and mysql/pg dml functions

* ensure that the location indicated by public_factory is
  importable

* adjust all of sqlalchemy.sql.expression locations to be correct

* support the case where a public_factory is against a function
  that has another public_factory already, and already replaced the
  __init__ on the target class

* Use mysql.insert(), postgresql.insert(), don't include .dml in the
  class path.

Change-Id: Iac285289455d8d7102349df3814f7cedc758e639
(cherry picked from commit 660ff51df0433607b12c58a12c7355107c1773f5)
doc/build/dialects/mysql.rst
doc/build/dialects/postgresql.rst
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/dml.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/dml.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/util/langhelpers.py