botocore-stubs 1.29.165__tar.gz → 1.31.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of botocore-stubs might be problematic. Click here for more details.
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/PKG-INFO +1 -1
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/args.pyi +3 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/client.pyi +3 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/configprovider.pyi +11 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/credentials.pyi +0 -8
- botocore_stubs-1.31.3/botocore-stubs/eventstream.pyi +102 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/tokens.pyi +1 -1
- botocore_stubs-1.31.3/botocore-stubs/useragent.pyi +40 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/utils.pyi +11 -1
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/pyproject.toml +1 -1
- botocore_stubs-1.29.165/botocore-stubs/eventstream.pyi +0 -94
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/LICENSE +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/README.md +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/__init__.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/auth.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/awsrequest.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/compat.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/config.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/configloader.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/crt/__init__.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/crt/auth.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/discovery.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/endpoint.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/endpoint_provider.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/errorfactory.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/exceptions.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/handlers.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/history.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/hooks.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/httpchecksum.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/httpsession.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/loaders.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/model.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/monitoring.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/paginate.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/parsers.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/py.typed +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/regions.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/response.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/__init__.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/adaptive.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/base.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/bucket.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/quota.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/special.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/standard.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retries/throttling.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/retryhandler.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/serialize.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/session.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/signers.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/stub.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/translate.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/validate.pyi +0 -0
- {botocore_stubs-1.29.165 → botocore_stubs-1.31.3}/botocore-stubs/waiter.pyi +0 -0
|
@@ -13,6 +13,7 @@ from botocore.model import ServiceModel
|
|
|
13
13
|
from botocore.parsers import ResponseParser, ResponseParserFactory
|
|
14
14
|
from botocore.serialize import BaseRestSerializer
|
|
15
15
|
from botocore.signers import RequestSigner as RequestSigner
|
|
16
|
+
from botocore.useragent import UserAgentString
|
|
16
17
|
|
|
17
18
|
if sys.version_info >= (3, 9):
|
|
18
19
|
from typing import TypedDict
|
|
@@ -23,6 +24,7 @@ logger: Logger = ...
|
|
|
23
24
|
|
|
24
25
|
VALID_REGIONAL_ENDPOINTS_CONFIG: List[str]
|
|
25
26
|
LEGACY_GLOBAL_STS_REGIONS: List[str]
|
|
27
|
+
USERAGENT_APPID_MAXLEN: int
|
|
26
28
|
|
|
27
29
|
class _GetClientArgsTypeDef(TypedDict):
|
|
28
30
|
serializer: BaseRestSerializer
|
|
@@ -45,6 +47,7 @@ class ClientArgsCreator:
|
|
|
45
47
|
loader: Loader,
|
|
46
48
|
exceptions_factory: Any,
|
|
47
49
|
config_store: ConfigValueStore,
|
|
50
|
+
user_agent_creator: Optional[UserAgentString] = ...,
|
|
48
51
|
) -> None: ...
|
|
49
52
|
def get_client_args(
|
|
50
53
|
self,
|
|
@@ -32,6 +32,7 @@ from botocore.retries import adaptive as adaptive
|
|
|
32
32
|
from botocore.retries import standard as standard
|
|
33
33
|
from botocore.serialize import Serializer
|
|
34
34
|
from botocore.signers import RequestSigner
|
|
35
|
+
from botocore.useragent import UserAgentString
|
|
35
36
|
from botocore.utils import CachedProperty as CachedProperty
|
|
36
37
|
from botocore.utils import S3ArnParamHandler as S3ArnParamHandler
|
|
37
38
|
from botocore.utils import S3ControlArnParamHandler as S3ControlArnParamHandler
|
|
@@ -56,6 +57,7 @@ class ClientCreator:
|
|
|
56
57
|
response_parser_factory: Optional[Any] = ...,
|
|
57
58
|
exceptions_factory: Optional[Any] = ...,
|
|
58
59
|
config_store: Optional[Any] = ...,
|
|
60
|
+
user_agent_creator: Optional[UserAgentString] = ...,
|
|
59
61
|
) -> None: ...
|
|
60
62
|
def create_client(
|
|
61
63
|
self,
|
|
@@ -113,6 +115,7 @@ class BaseClient:
|
|
|
113
115
|
partition: str,
|
|
114
116
|
exceptions_factory: Any,
|
|
115
117
|
endpoint_ruleset_resolver: Optional[EndpointRulesetResolver] = ...,
|
|
118
|
+
user_agent_creator: Optional[UserAgentString] = ...,
|
|
116
119
|
) -> None:
|
|
117
120
|
self.meta: ClientMeta
|
|
118
121
|
# FIXME: it hides `has no attribute` errors on Client type checking
|
|
@@ -33,6 +33,7 @@ class ConfigChainFactory:
|
|
|
33
33
|
class ConfigValueStore:
|
|
34
34
|
def __init__(self, mapping: Optional[Any] = ...) -> None: ...
|
|
35
35
|
def __deepcopy__(self: _R, memo: Dict[str, Any]) -> _R: ...
|
|
36
|
+
def __copy__(self: _R) -> _R: ...
|
|
36
37
|
def get_config_variable(self, logical_name: str) -> Any: ...
|
|
37
38
|
def get_config_provider(self, logical_name: str) -> "BaseProvider": ...
|
|
38
39
|
def set_config_variable(self, logical_name: str, value: Any) -> None: ...
|
|
@@ -88,3 +89,13 @@ class ConstantProvider(BaseProvider):
|
|
|
88
89
|
def __init__(self, value: Any) -> None: ...
|
|
89
90
|
def __deepcopy__(self: _R, memo: Dict[str, Any]) -> _R: ...
|
|
90
91
|
def provide(self) -> Any: ...
|
|
92
|
+
|
|
93
|
+
class ConfiguredEndpointProvider(BaseProvider):
|
|
94
|
+
def __init__(
|
|
95
|
+
self,
|
|
96
|
+
full_config: Dict[str, Any],
|
|
97
|
+
scoped_config: Dict[str, Any],
|
|
98
|
+
client_name: str,
|
|
99
|
+
environ: Optional[Dict[str, str]] = ...,
|
|
100
|
+
) -> None: ...
|
|
101
|
+
def provide(self) -> Any: ...
|
|
@@ -51,14 +51,6 @@ def get_credentials(session: Session) -> Any: ...
|
|
|
51
51
|
def create_assume_role_refresher(client: Any, params: Any) -> Any: ...
|
|
52
52
|
def create_mfa_serial_refresher(actual_refresh: Any) -> Any: ...
|
|
53
53
|
|
|
54
|
-
class JSONFileCache:
|
|
55
|
-
CACHE_DIR: Any = ...
|
|
56
|
-
def __init__(self, working_dir: Any = ..., dumps_func: Optional[Any] = ...) -> None: ...
|
|
57
|
-
def __contains__(self, cache_key: str) -> bool: ...
|
|
58
|
-
def __getitem__(self, cache_key: str) -> Any: ...
|
|
59
|
-
def __delitem__(self, cache_key: str) -> None: ...
|
|
60
|
-
def __setitem__(self, cache_key: str, value: Any) -> None: ...
|
|
61
|
-
|
|
62
54
|
class Credentials:
|
|
63
55
|
access_key: str = ...
|
|
64
56
|
secret_key: str = ...
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
from typing import Any, Dict, Generic, Iterator, Tuple, TypeVar
|
|
2
|
+
|
|
3
|
+
from botocore.exceptions import EventStreamError as EventStreamError
|
|
4
|
+
from botocore.model import StructureShape
|
|
5
|
+
from botocore.parsers import BaseEventStreamParser
|
|
6
|
+
|
|
7
|
+
_T = TypeVar("_T")
|
|
8
|
+
|
|
9
|
+
class ParserError(Exception): ...
|
|
10
|
+
|
|
11
|
+
class DuplicateHeader(ParserError):
|
|
12
|
+
def __init__(self, header: str) -> None: ...
|
|
13
|
+
|
|
14
|
+
class InvalidHeadersLength(ParserError):
|
|
15
|
+
def __init__(self, length: int) -> None: ...
|
|
16
|
+
|
|
17
|
+
class InvalidPayloadLength(ParserError):
|
|
18
|
+
def __init__(self, length: int) -> None: ...
|
|
19
|
+
|
|
20
|
+
class ChecksumMismatch(ParserError):
|
|
21
|
+
def __init__(self, expected: int, calculated: int) -> None: ...
|
|
22
|
+
|
|
23
|
+
class NoInitialResponseError(ParserError):
|
|
24
|
+
def __init__(self) -> None: ...
|
|
25
|
+
|
|
26
|
+
class DecodeUtils:
|
|
27
|
+
UINT8_BYTE_FORMAT: str = ...
|
|
28
|
+
UINT16_BYTE_FORMAT: str = ...
|
|
29
|
+
UINT32_BYTE_FORMAT: str = ...
|
|
30
|
+
INT8_BYTE_FORMAT: str = ...
|
|
31
|
+
INT16_BYTE_FORMAT: str = ...
|
|
32
|
+
INT32_BYTE_FORMAT: str = ...
|
|
33
|
+
INT64_BYTE_FORMAT: str = ...
|
|
34
|
+
PRELUDE_BYTE_FORMAT: str = ...
|
|
35
|
+
UINT_BYTE_FORMAT: Dict[int, str] = ...
|
|
36
|
+
@staticmethod
|
|
37
|
+
def unpack_true(data: bytes) -> Tuple[bool, int]: ...
|
|
38
|
+
@staticmethod
|
|
39
|
+
def unpack_false(data: bytes) -> Tuple[bool, int]: ...
|
|
40
|
+
@staticmethod
|
|
41
|
+
def unpack_uint8(data: bytes) -> Tuple[int, int]: ...
|
|
42
|
+
@staticmethod
|
|
43
|
+
def unpack_uint32(data: bytes) -> Tuple[int, int]: ...
|
|
44
|
+
@staticmethod
|
|
45
|
+
def unpack_int8(data: bytes) -> Tuple[int, int]: ...
|
|
46
|
+
@staticmethod
|
|
47
|
+
def unpack_int16(data: bytes) -> Tuple[int, int]: ...
|
|
48
|
+
@staticmethod
|
|
49
|
+
def unpack_int32(data: bytes) -> Tuple[int, int]: ...
|
|
50
|
+
@staticmethod
|
|
51
|
+
def unpack_int64(data: bytes) -> Tuple[int, int]: ...
|
|
52
|
+
@staticmethod
|
|
53
|
+
def unpack_byte_array(data: bytes, length_byte_size: int = ...) -> Tuple[bytes, int]: ...
|
|
54
|
+
@staticmethod
|
|
55
|
+
def unpack_utf8_string(data: bytes, length_byte_size: int = ...) -> Tuple[str, int]: ...
|
|
56
|
+
@staticmethod
|
|
57
|
+
def unpack_uuid(data: bytes) -> Tuple[bytes, int]: ...
|
|
58
|
+
@staticmethod
|
|
59
|
+
def unpack_prelude(data: bytes) -> Tuple[Tuple[int, int, int], int]: ...
|
|
60
|
+
|
|
61
|
+
class MessagePrelude:
|
|
62
|
+
def __init__(self, total_length: int, headers_length: int, crc: int) -> None:
|
|
63
|
+
self.total_length: int = ...
|
|
64
|
+
self.headers_length: int = ...
|
|
65
|
+
self.crc: int = ...
|
|
66
|
+
@property
|
|
67
|
+
def payload_length(self) -> int: ...
|
|
68
|
+
@property
|
|
69
|
+
def payload_end(self) -> int: ...
|
|
70
|
+
@property
|
|
71
|
+
def headers_end(self) -> int: ...
|
|
72
|
+
|
|
73
|
+
class EventStreamMessage:
|
|
74
|
+
def __init__(self, prelude: int, headers: int, payload: bytes, crc: int) -> None:
|
|
75
|
+
self.prelude: int = ...
|
|
76
|
+
self.headers: int = ...
|
|
77
|
+
self.payload: bytes = ...
|
|
78
|
+
self.crc: int = ...
|
|
79
|
+
def to_response_dict(self, status_code: int = ...) -> Dict[str, Any]: ...
|
|
80
|
+
|
|
81
|
+
class EventStreamHeaderParser:
|
|
82
|
+
def __init__(self) -> None: ...
|
|
83
|
+
def parse(self, data: bytes) -> Dict[str, Any]: ...
|
|
84
|
+
|
|
85
|
+
class EventStreamBuffer:
|
|
86
|
+
def __init__(self) -> None: ...
|
|
87
|
+
def add_data(self, data: bytes) -> None: ...
|
|
88
|
+
def next(self) -> EventStreamMessage: ...
|
|
89
|
+
def __next__(self) -> EventStreamMessage: ...
|
|
90
|
+
def __iter__(self: _T) -> _T: ...
|
|
91
|
+
|
|
92
|
+
class EventStream(Generic[_T]):
|
|
93
|
+
def __init__(
|
|
94
|
+
self,
|
|
95
|
+
raw_stream: Any,
|
|
96
|
+
output_shape: StructureShape,
|
|
97
|
+
parser: BaseEventStreamParser,
|
|
98
|
+
operation_name: str,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def __iter__(self) -> Iterator[_T]: ...
|
|
101
|
+
def get_initial_response(self) -> _T: ...
|
|
102
|
+
def close(self) -> None: ...
|
|
@@ -2,8 +2,8 @@ import datetime
|
|
|
2
2
|
import logging
|
|
3
3
|
from typing import Any, Callable, Iterable, NamedTuple, Optional, Type
|
|
4
4
|
|
|
5
|
-
from botocore.credentials import JSONFileCache
|
|
6
5
|
from botocore.session import Session
|
|
6
|
+
from botocore.utils import JSONFileCache
|
|
7
7
|
|
|
8
8
|
logger: logging.Logger
|
|
9
9
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from typing import NamedTuple, Optional, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from botocore.config import Config
|
|
4
|
+
|
|
5
|
+
_R = TypeVar("_R")
|
|
6
|
+
|
|
7
|
+
def sanitize_user_agent_string_component(raw_str: str, allow_hash: bool) -> str: ...
|
|
8
|
+
|
|
9
|
+
class UserAgentComponent(NamedTuple):
|
|
10
|
+
prefix: str
|
|
11
|
+
name: str
|
|
12
|
+
value: Optional[str] = ...
|
|
13
|
+
|
|
14
|
+
def to_string(self) -> str: ...
|
|
15
|
+
|
|
16
|
+
class RawStringUserAgentComponent:
|
|
17
|
+
def __init__(self, value: str) -> None: ...
|
|
18
|
+
def to_string(self) -> str: ...
|
|
19
|
+
|
|
20
|
+
class UserAgentString:
|
|
21
|
+
def __init__(
|
|
22
|
+
self,
|
|
23
|
+
platform_name: str,
|
|
24
|
+
platform_version: str,
|
|
25
|
+
platform_machine: str,
|
|
26
|
+
python_version: str,
|
|
27
|
+
python_implementation: str,
|
|
28
|
+
execution_env: str,
|
|
29
|
+
crt_version: Optional[str] = ...,
|
|
30
|
+
) -> None: ...
|
|
31
|
+
@classmethod
|
|
32
|
+
def from_environment(cls: Type[_R]) -> _R: ...
|
|
33
|
+
def set_session_config(
|
|
34
|
+
self: _R,
|
|
35
|
+
session_user_agent_name: str,
|
|
36
|
+
session_user_agent_version: str,
|
|
37
|
+
session_user_agent_extra: str,
|
|
38
|
+
) -> _R: ...
|
|
39
|
+
def with_client_config(self: _R, client_config: Config) -> _R: ...
|
|
40
|
+
def to_string(self) -> str: ...
|
|
@@ -24,7 +24,6 @@ from botocore.compat import urlparse as urlparse
|
|
|
24
24
|
from botocore.compat import urlsplit as urlsplit
|
|
25
25
|
from botocore.compat import urlunsplit as urlunsplit
|
|
26
26
|
from botocore.compat import zip_longest as zip_longest
|
|
27
|
-
from botocore.credentials import JSONFileCache as JSONFileCache
|
|
28
27
|
from botocore.exceptions import ClientError as ClientError
|
|
29
28
|
from botocore.exceptions import ConfigNotFound as ConfigNotFound
|
|
30
29
|
from botocore.exceptions import ConnectionClosedError as ConnectionClosedError
|
|
@@ -280,3 +279,14 @@ class EventbridgeSignerSetter:
|
|
|
280
279
|
) -> None: ...
|
|
281
280
|
|
|
282
281
|
def is_s3_accelerate_url(url: Optional[str]) -> bool: ...
|
|
282
|
+
|
|
283
|
+
class JSONFileCache:
|
|
284
|
+
CACHE_DIR: Any = ...
|
|
285
|
+
def __init__(self, working_dir: Any = ..., dumps_func: Optional[Any] = ...) -> None: ...
|
|
286
|
+
def __contains__(self, cache_key: str) -> bool: ...
|
|
287
|
+
def __getitem__(self, cache_key: str) -> Any: ...
|
|
288
|
+
def __delitem__(self, cache_key: str) -> None: ...
|
|
289
|
+
def __setitem__(self, cache_key: str, value: Any) -> None: ...
|
|
290
|
+
|
|
291
|
+
SERVICE_NAME_ALIASES: Dict[str, str] = ...
|
|
292
|
+
CLIENT_NAME_TO_HYPHENIZED_SERVICE_ID_OVERRIDES: Dict[str, str] = ...
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
from typing import Any
|
|
2
|
-
|
|
3
|
-
from botocore.exceptions import EventStreamError as EventStreamError
|
|
4
|
-
|
|
5
|
-
class ParserError(Exception): ...
|
|
6
|
-
|
|
7
|
-
class DuplicateHeader(ParserError):
|
|
8
|
-
def __init__(self, header: Any) -> None: ...
|
|
9
|
-
|
|
10
|
-
class InvalidHeadersLength(ParserError):
|
|
11
|
-
def __init__(self, length: Any) -> None: ...
|
|
12
|
-
|
|
13
|
-
class InvalidPayloadLength(ParserError):
|
|
14
|
-
def __init__(self, length: Any) -> None: ...
|
|
15
|
-
|
|
16
|
-
class ChecksumMismatch(ParserError):
|
|
17
|
-
def __init__(self, expected: Any, calculated: Any) -> None: ...
|
|
18
|
-
|
|
19
|
-
class NoInitialResponseError(ParserError):
|
|
20
|
-
def __init__(self) -> None: ...
|
|
21
|
-
|
|
22
|
-
class DecodeUtils:
|
|
23
|
-
UINT8_BYTE_FORMAT: str = ...
|
|
24
|
-
UINT16_BYTE_FORMAT: str = ...
|
|
25
|
-
UINT32_BYTE_FORMAT: str = ...
|
|
26
|
-
INT8_BYTE_FORMAT: str = ...
|
|
27
|
-
INT16_BYTE_FORMAT: str = ...
|
|
28
|
-
INT32_BYTE_FORMAT: str = ...
|
|
29
|
-
INT64_BYTE_FORMAT: str = ...
|
|
30
|
-
PRELUDE_BYTE_FORMAT: str = ...
|
|
31
|
-
UINT_BYTE_FORMAT: Any = ...
|
|
32
|
-
@staticmethod
|
|
33
|
-
def unpack_true(data: Any) -> Any: ...
|
|
34
|
-
@staticmethod
|
|
35
|
-
def unpack_false(data: Any) -> Any: ...
|
|
36
|
-
@staticmethod
|
|
37
|
-
def unpack_uint8(data: Any) -> Any: ...
|
|
38
|
-
@staticmethod
|
|
39
|
-
def unpack_uint32(data: Any) -> Any: ...
|
|
40
|
-
@staticmethod
|
|
41
|
-
def unpack_int8(data: Any) -> Any: ...
|
|
42
|
-
@staticmethod
|
|
43
|
-
def unpack_int16(data: Any) -> Any: ...
|
|
44
|
-
@staticmethod
|
|
45
|
-
def unpack_int32(data: Any) -> Any: ...
|
|
46
|
-
@staticmethod
|
|
47
|
-
def unpack_int64(data: Any) -> Any: ...
|
|
48
|
-
@staticmethod
|
|
49
|
-
def unpack_byte_array(data: Any, length_byte_size: int = ...) -> Any: ...
|
|
50
|
-
@staticmethod
|
|
51
|
-
def unpack_utf8_string(data: Any, length_byte_size: int = ...) -> Any: ...
|
|
52
|
-
@staticmethod
|
|
53
|
-
def unpack_uuid(data: Any) -> Any: ...
|
|
54
|
-
@staticmethod
|
|
55
|
-
def unpack_prelude(data: Any) -> Any: ...
|
|
56
|
-
|
|
57
|
-
class MessagePrelude:
|
|
58
|
-
total_length: Any = ...
|
|
59
|
-
headers_length: Any = ...
|
|
60
|
-
crc: Any = ...
|
|
61
|
-
def __init__(self, total_length: Any, headers_length: Any, crc: Any) -> None: ...
|
|
62
|
-
@property
|
|
63
|
-
def payload_length(self) -> Any: ...
|
|
64
|
-
@property
|
|
65
|
-
def payload_end(self) -> Any: ...
|
|
66
|
-
@property
|
|
67
|
-
def headers_end(self) -> Any: ...
|
|
68
|
-
|
|
69
|
-
class EventStreamMessage:
|
|
70
|
-
prelude: Any = ...
|
|
71
|
-
headers: Any = ...
|
|
72
|
-
payload: Any = ...
|
|
73
|
-
crc: Any = ...
|
|
74
|
-
def __init__(self, prelude: Any, headers: Any, payload: Any, crc: Any) -> None: ...
|
|
75
|
-
def to_response_dict(self, status_code: int = ...) -> Any: ...
|
|
76
|
-
|
|
77
|
-
class EventStreamHeaderParser:
|
|
78
|
-
def __init__(self) -> None: ...
|
|
79
|
-
def parse(self, data: Any) -> Any: ...
|
|
80
|
-
|
|
81
|
-
class EventStreamBuffer:
|
|
82
|
-
def __init__(self) -> None: ...
|
|
83
|
-
def add_data(self, data: Any) -> None: ...
|
|
84
|
-
def next(self) -> Any: ...
|
|
85
|
-
def __next__(self) -> Any: ...
|
|
86
|
-
def __iter__(self) -> Any: ...
|
|
87
|
-
|
|
88
|
-
class EventStream:
|
|
89
|
-
def __init__(
|
|
90
|
-
self, raw_stream: Any, output_shape: Any, parser: Any, operation_name: Any
|
|
91
|
-
) -> None: ...
|
|
92
|
-
def __iter__(self) -> Any: ...
|
|
93
|
-
def get_initial_response(self) -> Any: ...
|
|
94
|
-
def close(self) -> None: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|