fix mypy type issue

This commit is contained in:
Lex Berezhny 2019-09-16 12:39:53 -04:00
parent d31f09c174
commit 3c46c6cbb9

View file

@ -3,7 +3,7 @@ import asyncio
from binascii import hexlify from binascii import hexlify
from concurrent.futures.thread import ThreadPoolExecutor from concurrent.futures.thread import ThreadPoolExecutor
from typing import Tuple, List, Union, Callable, Any, Awaitable, Iterable from typing import Tuple, List, Union, Callable, Any, Awaitable, Iterable, Optional
import sqlite3 import sqlite3
@ -216,7 +216,7 @@ def rows_to_dict(rows, fields):
class SQLiteMixin: class SQLiteMixin:
SCHEMA_VERSION: str = None SCHEMA_VERSION: Optional[str] = None
CREATE_TABLES_QUERY: str CREATE_TABLES_QUERY: str
MAX_QUERY_VARIABLES = 900 MAX_QUERY_VARIABLES = 900