Type annotations for boto3.ResourceGroupsTaggingAPI 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-resourcegroupstaggingapi
Type annotations for boto3.ResourceGroupsTaggingAPI 1.13.25 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 ResourceGroupsTaggingAPI
service.
python -m pip install boto3-stubs[resourcegroupstaggingapi]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_resourcegroupstaggingapi
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_resourcegroupstaggingapi as resourcegroupstaggingapi
from mypy_boto3_resourcegroupstaggingapi import ResourceGroupsTaggingAPIClient
# with these
from mypy_boto3 import resourcegroupstaggingapi
from mypy_boto3.resourcegroupstaggingapi import ResourceGroupsTaggingAPIClient
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.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aacd2fc12f192fffa13d344e7160efd9a96b8ce132485747711b303a8619c9d7 |
|
MD5 | 71f984c73b4634f3ac26e6fe13ea6f84 |
|
BLAKE2b-256 | 0639375dfc6d92fb7e7efed224fa80a77f93bcc8e0f226b1191b93eea872ebae |
Hashes for mypy_boto3_resourcegroupstaggingapi-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fae1cfada0e6cf3e8ebc84a9c24041b353ee28f9c6b8411e96c28cbbd3f6c653 |
|
MD5 | e3d14dcf7bab1053600fa0d6d6d57b2d |
|
BLAKE2b-256 | 1388aeacc370d889bf1bedd455d733662bacda3860b6301a8bd74bcba17129f8 |