[mypy] Enforcing typing for db_engine_specs (#9138)

This commit is contained in:
John Bodley
2020-02-17 23:08:11 -08:00
committed by GitHub
parent 3149d8ebc0
commit 9f5f8e5d92
17 changed files with 173 additions and 104 deletions

View File

@@ -51,7 +51,7 @@ def _extract_limit_from_query(statement: TokenList) -> Optional[int]:
class ParsedQuery:
def __init__(self, sql_statement):
def __init__(self, sql_statement: str):
self.sql: str = sql_statement
self._table_names: Set[str] = set()
self._alias_names: Set[str] = set()