Type annotations for boto3.FraudDetector 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-frauddetector
Type annotations for boto3.FraudDetector 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.4.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for FraudDetector
service.
python -m pip install boto3-stubs[frauddetector]
Use boto3
with mypy_boto3_frauddetector
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_frauddetector import FraudDetectorClient
# Now mypy can check if your code is valid.
client: FraudDetectorClient = boto3.client("frauddetector")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: FraudDetectorClient = session.client("frauddetector")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_frauddetector
and other installed services.
# Run this command after you add or remove service packages
python -m mypy_boto3
Generated type annotations provide overloads for boto3.client
and boto3.resource
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installedVSCode
does not currently support function overloads, use explicit type annotations
import boto3
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("frauddetector")
session_client = boto3.Session().client("frauddetector")
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-frauddetector-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6503e8bc16a539b543e66b3b290a7167f92ca49380ee91deecb6d69b1c755131 |
|
MD5 | 686ea986be91afec0daf343bf69f7326 |
|
BLAKE2b-256 | 3138b289b84f2bd838b420c6cd2626781c5073d9d861fd87ed3eefbd0da8ed9f |
Hashes for mypy_boto3_frauddetector-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b277d551a0fac267c73fb3bff2f3aa29421e443eff3d7e26b1027bd9f148e5 |
|
MD5 | d65bd6a7b66aff5d17e882ea5c2d0b86 |
|
BLAKE2b-256 | 545825ea149d27e7ddea72e0e54b915e126972528fc68d0374382217c311e2d7 |