Type annotations for boto3.ServiceQuotas 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-service-quotas
Type annotations for boto3.ServiceQuotas 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 ServiceQuotas
service.
python -m pip install boto3-stubs[service-quotas]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_service_quotas
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_service_quotas import ServiceQuotasClient
# Now mypy can check if your code is valid.
client: ServiceQuotasClient = boto3.client("service-quotas")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ServiceQuotasClient = session.client("service-quotas")
# Annotated paginators are included as well
import mypy_boto3_service_quotas.paginator as service_quotas_paginators
list_aws_default_service_quotas_paginator: service_quotas_paginators.ListAWSDefaultServiceQuotasPaginator = client.get_paginator("list_aws_default_service_quotas")
list_requested_service_quota_change_history_paginator: service_quotas_paginators.ListRequestedServiceQuotaChangeHistoryPaginator = client.get_paginator("list_requested_service_quota_change_history")
list_requested_service_quota_change_history_by_quota_paginator: service_quotas_paginators.ListRequestedServiceQuotaChangeHistoryByQuotaPaginator = client.get_paginator("list_requested_service_quota_change_history_by_quota")
list_service_quota_increase_requests_in_template_paginator: service_quotas_paginators.ListServiceQuotaIncreaseRequestsInTemplatePaginator = client.get_paginator("list_service_quota_increase_requests_in_template")
list_service_quotas_paginator: service_quotas_paginators.ListServiceQuotasPaginator = client.get_paginator("list_service_quotas")
list_services_paginator: service_quotas_paginators.ListServicesPaginator = client.get_paginator("list_services")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_service_quotas
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_service_quotas as service_quotas
from mypy_boto3_service_quotas import ServiceQuotasClient
# with these
from mypy_boto3 import service_quotas
from mypy_boto3.service_quotas import ServiceQuotasClient
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-service-quotas-1.13.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c62f3ec4d3a4b9339afd4df6239e8dd45c4cc66eb53b0c47055f671c17301ac |
|
MD5 | 83a144482a3c049ebee9d73e244bf657 |
|
BLAKE2b-256 | 782a536ee87192c849b72644d51212a0d0e883245d64427c49ef62e65a7c86e3 |
Hashes for mypy_boto3_service_quotas-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ae102495a10a72b79d2625d0fd33a7e815e5328cf7194b09670d6950374462 |
|
MD5 | 57929ff65103307c19d5e0756bba4b88 |
|
BLAKE2b-256 | d59f1ce5fec40066b527eca1483f5473b96f8363541c40c04123dfa588b4f97f |