types-requests 2.32.4.20260107
Version history | Download JSON
-
PyPI https://pypi.org/project/types-requests/ Repository https://github.com/python/typeshed -
py.typedstubs-only typeshed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 1015 "Any" : 56 "Untyped" : 245 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 414 "classes" : 745 "other" : 38- 79 functions (+0 overloads)
- 335 parameters
- 68 classes
- 197 methods (+0 overloads)
- 520 parameters
- 28 properties
- 197 methods (+0 overloads)
- 15 modules
- 38 attrs
- 79 functions (+0 overloads)
Modules
Incomplete Annotations
requests.adapters (22 missing, 4 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
HTTPAdapter.init_poolmanager |
5 | 0 | 0 |
meth |
HTTPAdapter.proxy_manager_for |
3 | 0 | 0 |
meth |
HTTPAdapter.cert_verify |
5 | 0 | 0 |
meth |
HTTPAdapter.close |
1 | 0 | 0 |
meth |
HTTPAdapter.request_url |
3 | 0 | 0 |
meth |
HTTPAdapter.add_headers |
3 | 0 | 0 |
meth |
HTTPAdapter.proxy_headers |
2 | 0 | 0 |
attr |
HTTPAdapter.attrs |
1 | 1 | 1 |
attr |
HTTPAdapter.config |
1 | 1 | 1 |
attr |
HTTPAdapter.proxy_manager |
1 | 1 | 1 |
attr |
HTTPAdapter.poolmanager |
1 | 1 | 1 |
requests.api (3 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
requests.charset_normalizer_version |
1 | 0 | 0 |
attr |
requests.ssl |
1 | 0 | 0 |
attr |
requests.chardet_version |
1 | 0 | 0 |
requests.auth (15 missing, 7 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
HTTPProxyAuth.call |
2 | 0 | 0 |
attr |
requests.auth.CONTENT_TYPE_MULTI_PART |
1 | 1 | 1 |
meth |
HTTPBasicAuth.call |
2 | 0 | 0 |
attr |
requests.auth.CONTENT_TYPE_FORM_URLENCODED |
1 | 1 | 1 |
meth |
HTTPDigestAuth.build_digest_header |
3 | 0 | 0 |
meth |
HTTPDigestAuth.handle_redirect |
3 | 0 | 0 |
meth |
HTTPDigestAuth.handle_401 |
3 | 0 | 0 |
meth |
HTTPDigestAuth.call |
2 | 0 | 0 |
attr |
HTTPDigestAuth.last_nonce |
1 | 1 | 1 |
attr |
HTTPDigestAuth.nonce_count |
1 | 1 | 1 |
attr |
HTTPDigestAuth.chal |
1 | 1 | 1 |
attr |
HTTPDigestAuth.pos |
1 | 1 | 1 |
attr |
HTTPDigestAuth.num_401_calls |
1 | 1 | 1 |
requests.compat (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
requests.compat.chardet |
1 | 0 | 0 |
requests.cookies (59 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
requests.adapters.extract_cookies_to_jar |
4 | 0 | 0 |
meth |
MockRequest.init |
2 | 1 | 0 |
meth |
MockRequest.get_type |
1 | 0 | 0 |
meth |
MockRequest.get_host |
1 | 0 | 0 |
meth |
MockRequest.get_origin_req_host |
1 | 0 | 0 |
meth |
MockRequest.get_full_url |
1 | 0 | 0 |
meth |
MockRequest.is_unverifiable |
1 | 0 | 0 |
meth |
MockRequest.has_header |
2 | 0 | 0 |
meth |
MockRequest.get_header |
3 | 0 | 0 |
meth |
MockRequest.add_header |
3 | 0 | 0 |
meth |
MockRequest.add_unredirected_header |
3 | 0 | 0 |
meth |
MockRequest.get_new_headers |
1 | 0 | 0 |
prop |
MockRequest.unverifiable |
1 | 0 | 0 |
prop |
MockRequest.origin_req_host |
1 | 0 | 0 |
prop |
MockRequest.host |
1 | 0 | 0 |
attr |
MockRequest.type |
1 | 1 | 1 |
func |
requests.cookies.extract_cookies_to_jar |
4 | 0 | 0 |
func |
requests.cookies.cookiejar_from_dict |
4 | 0 | 0 |
meth |
MockResponse.init |
2 | 1 | 0 |
meth |
MockResponse.info |
1 | 0 | 0 |
meth |
MockResponse.getheaders |
2 | 0 | 0 |
func |
requests.cookies.get_cookie_header |
3 | 0 | 0 |
func |
requests.cookies.morsel_to_cookie |
2 | 0 | 0 |
meth |
RequestsCookieJar.set |
4 | 3 | 0 |
meth |
RequestsCookieJar.set_cookie |
4 | 1 | 0 |
meth |
RequestsCookieJar.update |
2 | 1 | 0 |
func |
requests.cookies.create_cookie |
4 | 0 | 0 |
func |
requests.cookies.remove_cookie_by_name |
5 | 0 | 0 |
func |
requests.cookies.merge_cookies |
3 | 0 | 0 |
requests.help (5 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
requests.help.charset_normalizer |
1 | 0 | 0 |
attr |
requests.help.OpenSSL |
1 | 0 | 0 |
attr |
requests.help.pyopenssl |
1 | 0 | 0 |
attr |
requests.help.cryptography |
1 | 0 | 0 |
attr |
requests.help.chardet |
1 | 0 | 0 |
requests.hooks (6 missing, 1 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
requests.hooks.HOOKS |
1 | 1 | 1 |
func |
requests.hooks.default_hooks |
1 | 0 | 0 |
func |
requests.hooks.dispatch_hook |
5 | 0 | 0 |
requests.models (66 missing, 33 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Request.init |
11 | 2 | 0 |
attr |
Request.hooks |
1 | 1 | 1 |
attr |
Request.method |
1 | 1 | 1 |
attr |
Request.url |
1 | 1 | 1 |
attr |
Request.headers |
1 | 1 | 1 |
attr |
Request.files |
1 | 1 | 1 |
attr |
Request.data |
1 | 1 | 1 |
attr |
Request.params |
1 | 1 | 1 |
attr |
Request.auth |
1 | 1 | 1 |
attr |
Request.cookies |
1 | 1 | 1 |
meth |
Response.json |
8 | 8 | 2 |
attr |
Response.attrs |
1 | 1 | 1 |
meth |
PreparedRequest.prepare |
11 | 1 | 0 |
meth |
PreparedRequest.prepare_method |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_url |
3 | 1 | 0 |
meth |
PreparedRequest.prepare_headers |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_body |
4 | 1 | 0 |
meth |
PreparedRequest.prepare_auth |
3 | 1 | 0 |
meth |
PreparedRequest.prepare_cookies |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_hooks |
2 | 1 | 0 |
attr |
PreparedRequest.hooks |
1 | 1 | 1 |
meth |
Response.json |
8 | 8 | 2 |
attr |
Response.attrs |
1 | 1 | 1 |
meth |
Response.json |
8 | 8 | 2 |
attr |
Response.attrs |
1 | 1 | 1 |
attr |
requests.models.CONTENT_CHUNK_SIZE |
1 | 1 | 1 |
attr |
requests.models.ITER_CHUNK_SIZE |
1 | 1 | 1 |
meth |
PreparedRequest.prepare |
11 | 1 | 0 |
meth |
PreparedRequest.prepare_method |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_url |
3 | 1 | 0 |
meth |
PreparedRequest.prepare_headers |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_body |
4 | 1 | 0 |
meth |
PreparedRequest.prepare_auth |
3 | 1 | 0 |
meth |
PreparedRequest.prepare_cookies |
2 | 1 | 0 |
meth |
PreparedRequest.prepare_hooks |
2 | 1 | 0 |
attr |
PreparedRequest.hooks |
1 | 1 | 1 |
meth |
RequestHooksMixin.register_hook |
3 | 0 | 0 |
meth |
RequestHooksMixin.deregister_hook |
3 | 0 | 0 |
attr |
requests.models.DEFAULT_REDIRECT_LIMIT |
1 | 1 | 1 |
meth |
Request.init |
11 | 2 | 0 |
attr |
Request.hooks |
1 | 1 | 1 |
attr |
Request.method |
1 | 1 | 1 |
attr |
Request.url |
1 | 1 | 1 |
attr |
Request.headers |
1 | 1 | 1 |
attr |
Request.files |
1 | 1 | 1 |
attr |
Request.data |
1 | 1 | 1 |
attr |
Request.params |
1 | 1 | 1 |
attr |
Request.auth |
1 | 1 | 1 |
attr |
Request.cookies |
1 | 1 | 1 |
attr |
requests.models.REDIRECT_STATI |
1 | 1 | 1 |
requests.sessions (24 missing, 4 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Session.send |
9 | 9 | 1 |
attr |
Session.attrs |
1 | 1 | 1 |
func |
requests.sessions.merge_setting |
4 | 0 | 0 |
meth |
SessionRedirectMixin.resolve_redirects |
10 | 3 | 0 |
meth |
SessionRedirectMixin.rebuild_auth |
3 | 0 | 0 |
meth |
SessionRedirectMixin.rebuild_proxies |
3 | 0 | 0 |
meth |
SessionRedirectMixin.should_strip_auth |
3 | 0 | 0 |
func |
requests.sessions.merge_hooks |
4 | 0 | 0 |
meth |
Session.send |
9 | 9 | 1 |
attr |
Session.attrs |
1 | 1 | 1 |
requests.status_codes (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
requests.codes |
1 | 1 | 1 |
attr |
requests.status_codes.codes |
1 | 1 | 1 |
requests.structures (0 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
LookupDict.init |
2 | 2 | 1 |
attr |
LookupDict.name |
1 | 1 | 1 |
requests.utils (43 missing, 2 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
requests.adapters.urldefragauth |
2 | 1 | 0 |
attr |
requests.adapters.DEFAULT_CA_BUNDLE_PATH |
1 | 1 | 1 |
func |
requests.adapters.prepend_scheme_if_needed |
3 | 0 | 0 |
func |
requests.utils.get_unicode_from_response |
2 | 0 | 0 |
func |
requests.utils.from_key_val_list |
2 | 0 | 0 |
func |
requests.utils.parse_dict_header |
2 | 0 | 0 |
func |
requests.utils.urldefragauth |
2 | 1 | 0 |
func |
requests.utils.unquote_header_value |
3 | 1 | 0 |
func |
requests.utils.extract_zipped_paths |
2 | 0 | 0 |
func |
requests.utils.to_key_val_list |
2 | 0 | 0 |
func |
requests.utils.dict_from_cookiejar |
2 | 0 | 0 |
attr |
requests.utils.DEFAULT_CA_BUNDLE_PATH |
1 | 1 | 1 |
func |
requests.utils.guess_filename |
2 | 0 | 0 |
func |
requests.utils.add_dict_to_cookiejar |
3 | 0 | 0 |
func |
requests.utils.guess_json_utf |
2 | 0 | 0 |
func |
requests.utils.prepend_scheme_if_needed |
3 | 0 | 0 |
func |
requests.utils.get_encodings_from_content |
2 | 0 | 0 |
func |
requests.utils.stream_decode_response_unicode |
3 | 0 | 0 |
func |
requests.utils.super_len |
2 | 0 | 0 |
func |
requests.utils.parse_list_header |
2 | 0 | 0 |
func |
requests.utils.to_native_string |
3 | 0 | 0 |
func |
requests.utils.dict_to_sequence |
2 | 0 | 0 |
requests.packages (1 missing, 0 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
attr |
mod |
1 | 0 | 0 |
Type-Ignore Comments
| Flavor | Count |
|---|---|
type: ignore[override] |
6 |
type: ignore[misc] |
1 |