mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
requests, regex: use re-exports instead of assignments in a few places (#8127)
This commit is contained in:
@@ -2,17 +2,15 @@ import datetime
|
||||
from _typeshed import Self
|
||||
from collections.abc import Callable, Iterator
|
||||
from json import JSONDecoder
|
||||
from typing import Any, TypeVar
|
||||
from typing import Any
|
||||
|
||||
from urllib3 import exceptions as urllib3_exceptions, fields, filepost, util
|
||||
|
||||
from . import auth, cookies, exceptions, hooks, status_codes, structures, utils
|
||||
from . import auth, cookies, exceptions, hooks, status_codes, utils
|
||||
from .cookies import RequestsCookieJar
|
||||
|
||||
_VT = TypeVar("_VT")
|
||||
from .structures import CaseInsensitiveDict as CaseInsensitiveDict
|
||||
|
||||
default_hooks = hooks.default_hooks
|
||||
CaseInsensitiveDict = structures.CaseInsensitiveDict[_VT]
|
||||
HTTPBasicAuth = auth.HTTPBasicAuth
|
||||
cookiejar_from_dict = cookies.cookiejar_from_dict
|
||||
get_cookie_header = cookies.get_cookie_header
|
||||
|
||||
Reference in New Issue
Block a user