# mypy-boto3-accessanalyzer
Mypy-friendly auto-generated type annotations for `boto3 accessanalyzer 1.10.36` service.
More information can be found [here](https://github.com/vemel/mypy_boto3).
- [mypy-boto3-accessanalyzer](#mypy-boto3-accessanalyzer)
- [How to use](#how-to-use)
- [Type checking](#type-checking)
- [Code auto-complete](#code-auto-complete)
- [How it works](#how-it-works)
## How to use
### Type checking
Make sure you have [mypy](https://github.com/python/mypy) installed and activated in your IDE.
Install `boto3-stubs` for `accessanalyzer` service.
```bash
python -m pip install boto3-stubs[mypy-boto3-accessanalyzer]
# build service index. You should execute this command everytime
# you update boto3-stubs or install/remove services
python -m python -m mypy_boto3
```
Use `boto3` with `mypy_boto3` in your project and enjoy type checking.
```python
import boto3
from mypy_boto3 import accessanalyzer
# alternative import if you do not want to install mypy_boto3 package
# import mypy_boto3_accessanalyzer as accessanalyzer
# Use this client as usual, now mypy can check if your code is valid.
# Check if your IDE supports function overloads,
# you probably do not need explicit type annotations
# client = boto3.client("accessanalyzer")
client: accessanalyzer.Client = boto3.client("accessanalyzer")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: accessanalyzer.Client = session.client("accessanalyzer")
```
## How it works
Fully automated [builder](https://github.com/vemel/mypy_boto3) carefully generates
type annotations for each service, patiently waiting for `boto3` updates. It delivers
a drop-in type annotations for you and makes sure that:
- Latest version of `boto3` is used.
- Each public class and method of every `boto3` service gets valid type annotations
extracted from latest documentation (blame `botocore` docs if types are incorrect).
- Type annotations include up-to-date documentation.
- Code is processed by [black](https://github.com/psf/black) for readability.
## Submodules
- `master` - Install `mypy-boto3` package.
Python库 | mypy-boto3-accessanalyzer-1.10.36.0.tar.gz
版权申诉
114 浏览量
2022-04-11
13:37:03
上传
评论
收藏 5KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- 三层独栋别墅图纸编号D066-三层-12.00&12.00米- 施工图.dwg
- 农村小别墅图纸编号D065-三层-14.40&18.55米-施工图.dwg
- 基于YOLOv8检测高铁吊弦缺陷实现的系统的Python源码+文档说明+训练源文件+模型.zip
- 三层农村小别墅图纸编号D064-三层-13.80&22.20米-施工图.dwg
- 三层别墅图纸编号D063-三层-13.57&17.40米- 施工图.dwg
- STC IAP15F2K61S2单片机i2c 接口PCF8591-ADC实验+DAC实验 KEIL例程源码+开发板硬件原理图
- Jlink-windows-v7967
- ADC直流分量影响分析
- 二层半独栋别墅结构水电施工图结构专家电.dwg
- 二层半独栋别墅结构水电施工图结构水暖图.dwg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈