Type annotations for boto3.SageMakerFeatureStoreRuntime 1.17.105 service, generated by mypy-boto3-buider 4.22.1
Project description
mypy-boto3-sagemaker-featurestore-runtime
Type annotations for boto3.SageMakerFeatureStoreRuntime 1.17.105 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-buider 4.22.1.
More information can be found on boto3-stubs page and in mypy-boto3-sagemaker-featurestore-runtime docs
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for SageMakerFeatureStoreRuntime
service.
python -m pip install boto3-stubs[sagemaker-featurestore-runtime]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[sagemaker-featurestore-runtime]
in your environment:python -m pip install 'boto3-stubs[sagemaker-featurestore-runtime]'
Both type checking and auto-complete should work for
SageMakerFeatureStoreRuntime
service. No explicit type annotations required,
write your boto3
code as usual.
PyCharm
- Install
boto-stubs[sagemaker-featurestore-runtime]
in your environment:python -m pip install 'boto3-stubs[sagemaker-featurestore-runtime]'
Both type checking and auto-complete should work for
SageMakerFeatureStoreRuntime
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-featurestore-runtime]
in your environment:python -m pip install 'boto3-stubs[sagemaker-featurestore-runtime]'
- Run
mypy
as usual
Type checking should work for SageMakerFeatureStoreRuntime
service. No
explicit type annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[sagemaker-featurestore-runtime]
in your environment:python -m pip install 'boto3-stubs[sagemaker-featurestore-runtime]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for SageMakerFeatureStoreRuntime
service. No
explicit type annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
SageMakerFeatureStoreRuntimeClient
provides annotations for
boto3.client("sagemaker-featurestore-runtime")
.
import boto3
from mypy_boto3_sagemaker_featurestore_runtime import SageMakerFeatureStoreRuntimeClient
client: SageMakerFeatureStoreRuntimeClient = boto3.client("sagemaker-featurestore-runtime")
# 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: SageMakerFeatureStoreRuntimeClient = session.client("sagemaker-featurestore-runtime")
Typed dictionaries
mypy_boto3_sagemaker_featurestore_runtime.type_defs
module contains
structures and shapes assembled to typed dictionaries for additional type
checking.
from mypy_boto3_sagemaker_featurestore_runtime.type_defs import (
BatchGetRecordErrorTypeDef,
BatchGetRecordIdentifierTypeDef,
BatchGetRecordRequestRequestTypeDef,
BatchGetRecordResponseTypeDef,
BatchGetRecordResultDetailTypeDef,
DeleteRecordRequestRequestTypeDef,
FeatureValueTypeDef,
GetRecordRequestRequestTypeDef,
GetRecordResponseTypeDef,
PutRecordRequestRequestTypeDef,
ResponseMetadataTypeDef,
)
def get_structure() -> BatchGetRecordErrorTypeDef:
return {
...
}
Versioning
mypy-boto3-sagemaker-featurestore-runtime
version is the same as related
boto3
version and follows
PEP 440 format.
Documentation
All type annotations can be found in mypy-boto3-sagemaker-featurestore-runtime 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-featurestore-runtime-1.17.105.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e37756f9e5aa0a7e346928288b42c5d3af694141748001d924d036d453e13e66 |
|
MD5 | 35698aa34454290a55d6f30266c82af8 |
|
BLAKE2b-256 | ad29811c4a650e079b3857a2c90e7a2f788783f5ead096142797d7034224ae74 |
Hashes for mypy_boto3_sagemaker_featurestore_runtime-1.17.105-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f39f113eaa8b551fb3e8aad378dea1388fbcd5ed50feb10327fdec71e1c2463a |
|
MD5 | af8fa1862481ee98602bdc9cd6df7d0b |
|
BLAKE2b-256 | 24e705b54afcdc116546a741d9190f5451ea51d5cdce6f364df8b11d4b5ecbb8 |