summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/interfaces.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2021-02-16 18:36:50 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2021-03-13 19:01:41 -0500
commit5f8ee3920066c0cbe5d6d6b0ceb987524f7542c4 (patch)
treeef0f08f0d88a8e9e038deaf5b15db910120e8813 /lib/sqlalchemy/engine/interfaces.py
parent76b33bb435f1f55111cd68cde9b7cb735c748bcd (diff)
downloadsqlalchemy-5f8ee3920066c0cbe5d6d6b0ceb987524f7542c4.tar.gz
Implement Mypy plugin
Rudimentary and experimental support for Mypy has been added in the form of a new plugin, which itself depends on new typing stubs for SQLAlchemy. The plugin allows declarative mappings in their standard form to both be compatible with Mypy as well as to provide typing support for mapped classes and instances. Fixes: #4609 Change-Id: Ia035978c02ad3a5c0e5b3c6c30044dd5a3155170
Diffstat (limited to 'lib/sqlalchemy/engine/interfaces.py')
-rw-r--r--lib/sqlalchemy/engine/interfaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py
index 4eb8a1d8d..010abcc24 100644
--- a/lib/sqlalchemy/engine/interfaces.py
+++ b/lib/sqlalchemy/engine/interfaces.py
@@ -1138,7 +1138,7 @@ class CreateEnginePlugin(object):
""" # noqa: E501
def __init__(self, url, kwargs):
- # type: (URL, dict[str: Any])
+ # type: (URL, dict[str, Any]) -> None
"""Construct a new :class:`.CreateEnginePlugin`.
The plugin object is instantiated individually for each call