diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-06 17:20:57 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-06 17:20:57 -0500 |
commit | c8b7729338ba32a726be72b5409b4651326042e9 (patch) | |
tree | 35ec5496df037b60ba5fcc4e2cc5bda54f5bc942 /lib/sqlalchemy/dialects/__init__.py | |
parent | cfb631e0897cf3a8cde67c120eed431eaa5f841d (diff) | |
download | sqlalchemy-c8b7729338ba32a726be72b5409b4651326042e9.tar.gz |
- Added a new entrypoint system to the engine to allow "plugins" to
be stated in the query string for a URL. Custom plugins can
be written which will be given the chance up front to alter and/or
consume the engine's URL and keyword arguments, and then at engine
create time will be given the engine itself to allow additional
modifications or event registration. Plugins are written as a
subclass of :class:`.CreateEnginePlugin`; see that class for
details.
fixes #3536
Diffstat (limited to 'lib/sqlalchemy/dialects/__init__.py')
-rw-r--r-- | lib/sqlalchemy/dialects/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/__init__.py b/lib/sqlalchemy/dialects/__init__.py index d90a83809..f851a4ab8 100644 --- a/lib/sqlalchemy/dialects/__init__.py +++ b/lib/sqlalchemy/dialects/__init__.py @@ -43,3 +43,5 @@ def _auto_fn(name): return None registry = util.PluginLoader("sqlalchemy.dialects", auto_fn=_auto_fn) + +plugins = util.PluginLoader("sqlalchemy.plugins")
\ No newline at end of file |