aws_sdk_sagemaker_runtime_http2 0.7.0__tar.gz → 0.8.0__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.
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.4.0.json +1 -1
- aws_sdk_sagemaker_runtime_http2-0.8.0/.changes/0.8.0.json +16 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/CHANGELOG.md +10 -1
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/PKG-INFO +5 -5
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/README.md +2 -2
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/mkdocs.yml +3 -3
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/pyproject.toml +3 -3
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/__init__.py +1 -1
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/client.py +21 -2
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.1.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.3.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.5.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.6.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.7.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.gitignore +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/LICENSE +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/Makefile +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/NOTICE +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/README.md +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/hooks/copyright.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/index.md +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/stylesheets/extra.css +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/scripts/docs/generate_doc_stubs.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/_private/__init__.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/_private/schemas.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/auth.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/config.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/models.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/src/aws_sdk_sagemaker_runtime_http2/user_agent.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/tests/__init__.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/tests/test_protocol.py +0 -0
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.4.0.json
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"changes": [
|
|
3
3
|
{
|
|
4
4
|
"type": "enhancement",
|
|
5
|
-
"description": "Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/
|
|
5
|
+
"description": "Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/aws/aws-sdk-python/pull/48))"
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"type": "enhancement",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"changes": [
|
|
3
|
+
{
|
|
4
|
+
"type": "enhancement",
|
|
5
|
+
"description": "Re-generated with smithy-python 0.4.0"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "dependency",
|
|
9
|
+
"description": "Bump `smithy-aws-core` from `~=0.7.0` to `~=0.8.0`."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "dependency",
|
|
13
|
+
"description": "Bump `smithy-core` from `~=0.6.0` to `~=0.7.0`."
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/CHANGELOG.md
RENAMED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.8.0
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
* Re-generated with smithy-python 0.4.0
|
|
7
|
+
|
|
8
|
+
### Dependencies
|
|
9
|
+
* Bump `smithy-aws-core` from `~=0.7.0` to `~=0.8.0`.
|
|
10
|
+
* Bump `smithy-core` from `~=0.6.0` to `~=0.7.0`.
|
|
11
|
+
|
|
3
12
|
## v0.7.0
|
|
4
13
|
|
|
5
14
|
### Enhancements
|
|
@@ -25,7 +34,7 @@
|
|
|
25
34
|
## v0.4.0
|
|
26
35
|
|
|
27
36
|
### Enhancements
|
|
28
|
-
* Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/
|
|
37
|
+
* Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/aws/aws-sdk-python/pull/48))
|
|
29
38
|
* Re-generated with smithy-python 0.3.0
|
|
30
39
|
|
|
31
40
|
## v0.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aws_sdk_sagemaker_runtime_http2
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: aws_sdk_sagemaker_runtime_http2 client
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
20
|
Requires-Python: >=3.12
|
|
21
|
-
Requires-Dist: smithy-aws-core[eventstream,json]~=0.
|
|
22
|
-
Requires-Dist: smithy-core~=0.
|
|
21
|
+
Requires-Dist: smithy-aws-core[eventstream,json]~=0.8.0
|
|
22
|
+
Requires-Dist: smithy-core~=0.7.0
|
|
23
23
|
Requires-Dist: smithy-http[awscrt]~=0.4.0
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
@@ -34,6 +34,6 @@ Changes may result in breaking changes prior to the release of version
|
|
|
34
34
|
|
|
35
35
|
Documentation is available in the `/docs` directory of this package.
|
|
36
36
|
Pages can be built into portable HTML files for the time being. You can
|
|
37
|
-
follow the instructions in the docs [README.md](https://github.com/
|
|
37
|
+
follow the instructions in the docs [README.md](https://github.com/aws/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
|
|
38
38
|
|
|
39
|
-
For high-level documentation, you can view the [`dev-guide`](https://github.com/
|
|
39
|
+
For high-level documentation, you can view the [`dev-guide`](https://github.com/aws/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
|
|
@@ -9,6 +9,6 @@ Changes may result in breaking changes prior to the release of version
|
|
|
9
9
|
|
|
10
10
|
Documentation is available in the `/docs` directory of this package.
|
|
11
11
|
Pages can be built into portable HTML files for the time being. You can
|
|
12
|
-
follow the instructions in the docs [README.md](https://github.com/
|
|
12
|
+
follow the instructions in the docs [README.md](https://github.com/aws/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
|
|
13
13
|
|
|
14
|
-
For high-level documentation, you can view the [`dev-guide`](https://github.com/
|
|
14
|
+
For high-level documentation, you can view the [`dev-guide`](https://github.com/aws/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
site_name: AWS SDK for Python - Sagemaker Runtime Http2
|
|
2
2
|
site_description: Documentation for AWS Sagemaker Runtime Http2 Client
|
|
3
3
|
|
|
4
|
-
repo_name:
|
|
5
|
-
repo_url: https://github.com/
|
|
4
|
+
repo_name: aws/aws-sdk-python
|
|
5
|
+
repo_url: https://github.com/aws/aws-sdk-python
|
|
6
6
|
|
|
7
7
|
exclude_docs: |
|
|
8
8
|
README.md
|
|
@@ -86,7 +86,7 @@ nav:
|
|
|
86
86
|
extra:
|
|
87
87
|
social:
|
|
88
88
|
- icon: fontawesome/brands/github
|
|
89
|
-
link: https://github.com/
|
|
89
|
+
link: https://github.com/aws/aws-sdk-python
|
|
90
90
|
|
|
91
91
|
extra_css:
|
|
92
92
|
- stylesheets/extra.css
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/pyproject.toml
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[project]
|
|
4
4
|
name = "aws_sdk_sagemaker_runtime_http2"
|
|
5
|
-
version = "0.
|
|
5
|
+
version = "0.8.0"
|
|
6
6
|
description = "aws_sdk_sagemaker_runtime_http2 client"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.12"
|
|
@@ -23,8 +23,8 @@ classifiers = [
|
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
dependencies = [
|
|
26
|
-
"smithy_aws_core[eventstream, json]~=0.
|
|
27
|
-
"smithy_core~=0.
|
|
26
|
+
"smithy_aws_core[eventstream, json]~=0.8.0",
|
|
27
|
+
"smithy_core~=0.7.0",
|
|
28
28
|
"smithy_http[awscrt]~=0.4.0"
|
|
29
29
|
]
|
|
30
30
|
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from copy import deepcopy
|
|
4
4
|
import logging
|
|
5
|
+
from typing import Any, TYPE_CHECKING
|
|
6
|
+
import warnings
|
|
5
7
|
|
|
6
8
|
from smithy_core.aio.client import ClientCall, RequestPipeline
|
|
7
9
|
from smithy_core.aio.eventstream import DuplexEventStream
|
|
@@ -26,14 +28,14 @@ from .user_agent import aws_user_agent_plugin
|
|
|
26
28
|
logger = logging.getLogger(__name__)
|
|
27
29
|
|
|
28
30
|
|
|
29
|
-
class
|
|
31
|
+
class AsyncSageMakerRuntimeHTTP2Client:
|
|
30
32
|
"""The Amazon SageMaker AI runtime HTTP/2 API."""
|
|
31
33
|
|
|
32
34
|
def __init__(
|
|
33
35
|
self, config: Config | None = None, plugins: list[Plugin] | None = None
|
|
34
36
|
):
|
|
35
37
|
"""
|
|
36
|
-
Constructor for `
|
|
38
|
+
Constructor for `AsyncSageMakerRuntimeHTTP2Client`.
|
|
37
39
|
|
|
38
40
|
Args:
|
|
39
41
|
config:
|
|
@@ -145,3 +147,20 @@ class SageMakerRuntimeHTTP2Client:
|
|
|
145
147
|
ResponseStreamEvent,
|
|
146
148
|
_ResponseStreamEventDeserializer().deserialize,
|
|
147
149
|
)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
if TYPE_CHECKING:
|
|
153
|
+
# Deprecated alias for backwards compatibility, to be removed.
|
|
154
|
+
SageMakerRuntimeHTTP2Client = AsyncSageMakerRuntimeHTTP2Client
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def __getattr__(name: str) -> Any:
|
|
158
|
+
if name == "SageMakerRuntimeHTTP2Client":
|
|
159
|
+
warnings.warn(
|
|
160
|
+
"SageMakerRuntimeHTTP2Client is deprecated, use AsyncSageMakerRuntimeHTTP2Client instead. "
|
|
161
|
+
"This alias will be removed in a future version.",
|
|
162
|
+
DeprecationWarning,
|
|
163
|
+
stacklevel=2,
|
|
164
|
+
)
|
|
165
|
+
return AsyncSageMakerRuntimeHTTP2Client
|
|
166
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.1.0.json
RENAMED
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.3.0.json
RENAMED
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.5.0.json
RENAMED
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.6.0.json
RENAMED
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/.changes/0.7.0.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/docs/index.md
RENAMED
|
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
|
{aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.8.0}/tests/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|