Type annotations for boto3.ResourceGroupsTaggingAPI 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-resourcegroupstaggingapi
Type annotations for boto3.ResourceGroupsTaggingAPI 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 ResourceGroupsTaggingAPI
service.
python -m pip install boto3-stubs[resourcegroupstaggingapi]
Use boto3
with mypy_boto3_resourcegroupstaggingapi
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_resourcegroupstaggingapi import ResourceGroupsTaggingAPIClient
# Now mypy can check if your code is valid.
client: ResourceGroupsTaggingAPIClient = boto3.client("resourcegroupstaggingapi")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ResourceGroupsTaggingAPIClient = session.client("resourcegroupstaggingapi")
# Annotated paginators are included as well
import mypy_boto3_resourcegroupstaggingapi.paginator as resourcegroupstaggingapi_paginators
get_compliance_summary_paginator: resourcegroupstaggingapi_paginators.GetComplianceSummaryPaginator = client.get_paginator("get_compliance_summary")
get_resources_paginator: resourcegroupstaggingapi_paginators.GetResourcesPaginator = client.get_paginator("get_resources")
get_tag_keys_paginator: resourcegroupstaggingapi_paginators.GetTagKeysPaginator = client.get_paginator("get_tag_keys")
get_tag_values_paginator: resourcegroupstaggingapi_paginators.GetTagValuesPaginator = client.get_paginator("get_tag_values")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_resourcegroupstaggingapi
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("resourcegroupstaggingapi")
session_client = boto3.Session().client("resourcegroupstaggingapi")
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-resourcegroupstaggingapi-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f561bb385da9ff76f3901adcaba051c20989736b5e7a6b8613edf91a3d01bf |
|
MD5 | e88a6651c02c6999d8a0bd8d8a5c00db |
|
BLAKE2b-256 | d9cb30d79cca0df125d08573f41e5936125dc8d6efa23829b5dca271e869efed |
Hashes for mypy_boto3_resourcegroupstaggingapi-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8c0b52e09a06f065059d687b5d6eb5dc4d056151231dbd9b273c2d16a3421ee |
|
MD5 | fae4b88d1c0329475057256d2bbd4751 |
|
BLAKE2b-256 | 69bde27e99dffb6b4b7f82e553f5a112007d365d0afeea983f307d3968b3bf48 |