Type annotations for boto3.ApiGatewayManagementApi 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-apigatewaymanagementapi
Type annotations for boto3.ApiGatewayManagementApi 1.14.0 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 ApiGatewayManagementApi
service.
python -m pip install boto3-stubs[apigatewaymanagementapi]
Use boto3
with mypy_boto3_apigatewaymanagementapi
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_apigatewaymanagementapi import ApiGatewayManagementApiClient
# Now mypy can check if your code is valid.
client: ApiGatewayManagementApiClient = boto3.client("apigatewaymanagementapi")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ApiGatewayManagementApiClient = session.client("apigatewaymanagementapi")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_apigatewaymanagementapi
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("apigatewaymanagementapi")
session_client = boto3.Session().client("apigatewaymanagementapi")
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-apigatewaymanagementapi-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e96ae1eeadbb1700781a777c8dad8a5ddb1ac5226db07d012cef7d1615f18723 |
|
MD5 | 660cfcf886045eda8e4b9f9c64e535e4 |
|
BLAKE2b-256 | fa3a6050fb93d15d6a5ad213aef6102404c83fcf1ece6bf7b9d129e3c10a82d5 |
Hashes for mypy_boto3_apigatewaymanagementapi-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38ee7f2b832b50509a06bfb6af5598d1d1abb002d42ed91f852e017a673660b |
|
MD5 | c5779ab0bd89645589e322eb00e5746d |
|
BLAKE2b-256 | 6421131490cef858a70ac7fa67a43ef8a58b086e0080d8e091ffa2d3a4479c4c |