mypy: Added Dict, List and Set imports.

Fixed mypy errors associated with the upgrade.
This commit is contained in:
Raghav Jajodia
2017-03-03 23:31:52 +05:30
committed by Tim Abbott
parent 1453a5bfda
commit a3a03bd6a5
129 changed files with 132 additions and 117 deletions

View File

@@ -32,7 +32,7 @@ It is recommended to use the utility functions for other string conversions.
import six
from six import binary_type
from typing import Any, Mapping, Union, TypeVar, Text
from typing import Any, Dict, Mapping, Union, TypeVar, Text
NonBinaryStr = TypeVar('NonBinaryStr', str, Text)
# This is used to represent text or native strings