mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
mypy: Added Dict, List and Set imports.
Fixed mypy errors associated with the upgrade.
This commit is contained in:
committed by
Tim Abbott
parent
1453a5bfda
commit
a3a03bd6a5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user