Type annotations for boto3.ResourceGroupsTaggingAPI 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-resourcegroupstaggingapi
Type annotations for boto3.ResourceGroupsTaggingAPI 1.13.24 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.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2863f32b2e59abd3580dca489a75626439051eff54bbe365ad9c2f0db80119f4 |
|
MD5 | 54116c4c9c61bd5289b92b8e443be9e7 |
|
BLAKE2b-256 | 8edca1d50d69716f3c2d8037b2552b7724dcd22fdf61ea6c3ee017960b09a93a |
Hashes for mypy_boto3_resourcegroupstaggingapi-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c0fd40d1d6d5586323e42b9d5d5cd975f231653b0fe29cca3d3ece411e3f41 |
|
MD5 | ca15ab1ec4798f63702760ebc71d428a |
|
BLAKE2b-256 | 65bb969f39b7685d04c9a66da43b05aba72a343d1c013251196da699dbc75b04 |