From 71cb17c81d358646f8dfeac14e9662ce42bb94df Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Thu, 13 May 2021 21:20:51 +0200 Subject: Remove pep484 type comments from the code Current effort is around the stub package, and having typing in two places makes thing worse, since the types here are usually outdated compared to the version in the stubs. Once v2 gets under way we can start consolidating the types here. Fixes: #6461 Change-Id: I7132a444bd7138123074bf5bc664b4bb119a85ce --- lib/sqlalchemy/dialects/mysql/base.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/sqlalchemy/dialects/mysql') diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 88c03a011..92023b3b2 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -991,13 +991,9 @@ from ...types import BLOB from ...types import BOOLEAN from ...types import DATE from ...types import VARBINARY -from ...util import compat from ...util import topological -if compat.TYPE_CHECKING: - from typing import Any - RESERVED_WORDS = set( [ "accessible", @@ -3284,7 +3280,6 @@ class MySQLDialect(default.DefaultDialect): return parser.parse(sql, charset) def _detect_charset(self, connection): - # type: (Any) -> str raise NotImplementedError() def _detect_casing(self, connection): -- cgit v1.2.1