aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client/fatcat_openapi_client/rest.pyi
blob: 458fce159e7fc710f047617209f17a92063efa1a (plain)
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
import io
from fatcat_openapi_client.exceptions import ApiException as ApiException, ApiValueError as ApiValueError
from typing import Any

logger: Any

class RESTResponse(io.IOBase):
    urllib3_response: Any
    status: Any
    reason: Any
    data: Any
    def __init__(self, resp) -> None: ...
    def getheaders(self): ...
    def getheader(self, name, default: Any | None = ...): ...

class RESTClientObject:
    pool_manager: Any
    def __init__(self, configuration, pools_size: int = ..., maxsize: Any | None = ...) -> None: ...
    def request(self, method, url, query_params: Any | None = ..., headers: Any | None = ..., body: Any | None = ..., post_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def GET(self, url, headers: Any | None = ..., query_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def HEAD(self, url, headers: Any | None = ..., query_params: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def OPTIONS(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def DELETE(self, url, headers: Any | None = ..., query_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def POST(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def PUT(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...
    def PATCH(self, url, headers: Any | None = ..., query_params: Any | None = ..., post_params: Any | None = ..., body: Any | None = ..., _preload_content: bool = ..., _request_timeout: Any | None = ...): ...