Type annotations for boto3.SagemakerEdgeManager 1.17.99 service, generated by mypy-boto3-buider 4.18.4
Project description
mypy-boto3-sagemaker-edge
Type annotations for boto3.SagemakerEdgeManager 1.17.99 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-buider 4.18.4.
More information can be found on boto3-stubs page and in mypy-boto3-sagemaker-edge docs
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for SagemakerEdgeManager
service.
python -m pip install boto3-stubs[sagemaker-edge]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[sagemaker-edge]
in your environment:python -m pip install 'boto3-stubs[sagemaker-edge]'
Both type checking and auto-complete should work for SagemakerEdgeManager
service. No explicit type annotations required, write your boto3
code as
usual.
PyCharm
- Install
boto-stubs[sagemaker-edge]
in your environment:python -m pip install 'boto3-stubs[sagemaker-edge]'
Both type checking and auto-complete should work for SagemakerEdgeManager
service. No explicit type annotations required, write your boto3
code as
usual. Auto-complete can be slow on big projects or if you have a lot of
installed boto3-stubs
submodules.
Other IDEs
Not tested, but as long as your IDE support mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
boto-stubs[sagemaker-edge]
in your environment:python -m pip install 'boto3-stubs[sagemaker-edge]'
- Run
mypy
as usual
Type checking should work for SagemakerEdgeManager
service. No explicit type
annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[sagemaker-edge]
in your environment:python -m pip install 'boto3-stubs[sagemaker-edge]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for SagemakerEdgeManager
service. No explicit type
annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
SagemakerEdgeManagerClient
provides annotations for
boto3.client("sagemaker-edge")
.
import boto3
from mypy_boto3_sagemaker_edge import SagemakerEdgeManagerClient
client: SagemakerEdgeManagerClient = boto3.client("sagemaker-edge")
# now client usage is checked by mypy and IDE should provide code auto-complete
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: SagemakerEdgeManagerClient = session.client("sagemaker-edge")
Typed dictionaries
mypy_boto3_sagemaker_edge.type_defs
module contains structures and shapes
assembled to typed dictionaries for additional type checking.
from mypy_boto3_sagemaker_edge.type_defs import (
EdgeMetricTypeDef,
GetDeviceRegistrationResultTypeDef,
ModelTypeDef,
)
def get_structure() -> EdgeMetricTypeDef:
return {
...
}
Versioning
mypy-boto3-sagemaker-edge
version is the same as related boto3
version and
follows PEP 440 format.
Documentation
All type annotations can be found in mypy-boto3-sagemaker-edge docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-sagemaker-edge-1.17.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842626e2b3b0fa2a835ac678300b7da2a92fac93216b8029e3a1d6a95bae1932 |
|
MD5 | 091df087f349ca010ade70a1a898aaf1 |
|
BLAKE2b-256 | 59a5ef200fcedaf7280912765a7dabe0b4cdb2e4d9d23a93de5bed70d3548b59 |
Hashes for mypy_boto3_sagemaker_edge-1.17.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624c95018e48b2c96ffa0cc700b221ac5937e5a69d5c01d1b007ec511ee0504b |
|
MD5 | ddb55cd3b155274e1582aed44b258f27 |
|
BLAKE2b-256 | 171e54c5b315c03f8ba0a6f6a99e77492bc360c2a1cc65c45c42ceaaff1f9aad |