massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / requests / requests / packages / urllib3 / __init__.pyi
1 import logging
2 from typing import Any
3
4 from . import connectionpool, filepost, poolmanager, response
5 from .util import request as _request, retry, timeout, url
6
7 __license__: Any
8
9 HTTPConnectionPool = connectionpool.HTTPConnectionPool
10 HTTPSConnectionPool = connectionpool.HTTPSConnectionPool
11 connection_from_url = connectionpool.connection_from_url
12 encode_multipart_formdata = filepost.encode_multipart_formdata
13 PoolManager = poolmanager.PoolManager
14 ProxyManager = poolmanager.ProxyManager
15 proxy_from_url = poolmanager.proxy_from_url
16 HTTPResponse = response.HTTPResponse
17 make_headers = _request.make_headers
18 get_host = url.get_host
19 Timeout = timeout.Timeout
20 Retry = retry.Retry
21
22 class NullHandler(logging.Handler):
23     def emit(self, record): ...
24
25 def add_stderr_logger(level=...): ...
26 def disable_warnings(category=...): ...