aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/requests-mock/py3/requests_mock/request.pyi
blob: 5e2fb30d203a8a7202890e17493c8e2b3b008ec2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Stubs for requests_mock.request

from typing import Any, Dict, List

class _RequestObjectProxy:
    def __init__(self, request: Any, **kwargs: Any) -> None: ...
    def __getattr__(self, name: str) -> Any: ...
    @property
    def scheme(self) -> str: ...
    @property
    def netloc(self) -> str: ...
    @property
    def hostname(self) -> str: ...
    @property
    def port(self) -> int: ...
    @property
    def path(self) -> str: ...
    @property
    def query(self) -> str: ...
    @property
    def qs(self) -> Dict[str, List[str]]: ...
    @property
    def timeout(self) -> int: ...
    @property
    def allow_redirects(self) -> bool: ...
    @property
    def verify(self) -> Any: ...
    @property
    def stream(self) -> Any: ...
    @property
    def cert(self) -> Any: ...
    @property
    def proxies(self) -> Any: ...
    @property
    def text(self) -> str: ...
    def json(self, **kwargs: Any) -> Any: ...
    @property
    def matcher(self) -> Any: ...
    

Request = _RequestObjectProxy