Add missing Dict imports.

This commit is contained in:
Lukasz Langa
2016-12-21 01:15:26 -08:00
parent 5f416fae64
commit c0c982ada5
13 changed files with 14 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
from datetime import datetime, date, time
from typing import Any, Tuple, Iterable, List, Optional, Union, Sequence
from typing import Any, Dict, Tuple, Iterable, List, Optional, Union, Sequence
Scalar = Union[int, float, str, datetime, date, time]
Result = Union[Tuple[Scalar, ...], Dict[str, Scalar]]

View File

@@ -4,7 +4,7 @@ from __future__ import print_function
import types
from typing import (
Any, AnyStr, Callable, Iterable, Mapping, Optional,
Any, AnyStr, Callable, Dict, Iterable, Mapping, Optional,
Pattern, Tuple, TypeVar, Union, overload, ValuesView, KeysView, ItemsView
)
import typing

View File

@@ -4,7 +4,7 @@
import sys
from typing import Any, Callable, Iterable, List, Optional, Text, Tuple, Union
from typing import Any, Callable, Dict, Iterable, List, Optional, Text, Tuple, Union
from collections import Mapping
from markupsafe._compat import text_type
import string

View File

@@ -1,4 +1,4 @@
from typing import Any, Callable, List, TypeVar, Union
from typing import Any, Callable, Dict, List, TypeVar, Union
from click.core import Command, Group, Argument, Option, Parameter, Context
from click.types import ParamType