]> 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 19:53:21 +0000 (14:53 -0500)
commit660ff51df0433607b12c58a12c7355107c1773f5
tree95c43ce2401ee5aee3d8b3dfa6d241c633d23279
parent47aa62abde6eba67802f2f7126cc79fbd95b5d1a
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
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