]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Allow multiple plugin names
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 Feb 2018 20:11:53 +0000 (15:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 Feb 2018 20:28:11 +0000 (15:28 -0500)
commit15ea75981305fdad8286f6803671b864ccda13f2
tree5fab8588f504e023c4f7dc3944d04ba21b7b2f78
parent030915208bc843ac48a216331f315eb3c5b8b3ad
Allow multiple plugin names

The :class:`.URL` object now allows query keys to be specified multiple
times where their values will be joined into a list.  This is to support
the plugins feature documented at :class:`.CreateEnginePlugin` which
documents that "plugin" can be passed multiple times. Additionally, the
plugin names can be passed to :func:`.create_engine` outside of the URL
using the new :paramref:`.create_engine.plugins` parameter.

Change-Id: Ifc48ad120bd6c6204eda567492caf79832aeeaa5
Fixes: #4170
doc/build/changelog/unreleased_12/4170.rst [new file with mode: 0644]
lib/sqlalchemy/engine/__init__.py
lib/sqlalchemy/engine/interfaces.py
lib/sqlalchemy/engine/strategies.py
lib/sqlalchemy/engine/url.py
test/engine/test_parseconnect.py