Type annotations for boto3.FraudDetector 1.13.26 service, generated by mypy-boto3-buider 2.0.2
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.2.
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]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_frauddetector
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
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 carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_frauddetector as frauddetector
from mypy_boto3_frauddetector import FraudDetectorClient
# with these
from mypy_boto3 import frauddetector
from mypy_boto3.frauddetector import FraudDetectorClient
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71373458773fc1121403e84abab73b5790ff6f3079b8c971970ff6577bbb0a22 |
|
MD5 | 6aeada2d869311a1e9a41ca7fa4a190a |
|
BLAKE2b-256 | 3301356f182917250ed60e882ba97fe46c2c40ba22f059069bbc9a29dc1eae30 |
Hashes for mypy_boto3_frauddetector-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca283573db95dae7626f8a3c5c3d5c93d2cdf356c8b37d95255da126b3333b2d |
|
MD5 | a807fe9ade930dd4664d85c7cd3523cf |
|
BLAKE2b-256 | 64cbdac6f9dfe505526622756296673aa99a39b6bed2fe3cb22f1da99d814cbf |