Added some missing parameter annotations and type arguments detected by pyright. (#5061)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric Traut
2021-02-23 11:46:53 -07:00
committed by GitHub
parent c7c025ae08
commit a1f16da64e
8 changed files with 16 additions and 12 deletions

View File

@@ -4,8 +4,8 @@ from typing import Any, Dict, FrozenSet, Iterable, List, Optional, Sequence, Set
from .compat import HAS_IPV6 as HAS_IPV6, PY2 as PY2, WIN as WIN, string_types as string_types
from .proxy_headers import PROXY_HEADERS as PROXY_HEADERS
truthy: FrozenSet
KNOWN_PROXY_HEADERS: FrozenSet
truthy: FrozenSet[Any]
KNOWN_PROXY_HEADERS: FrozenSet[Any]
def asbool(s: Optional[Union[bool, str, int]]) -> bool: ...
def asoctal(s: str) -> int: ...