Type annotations for boto3.ServiceQuotas 1.13.26 service, generated by mypy-boto3-buider 2.0.3
Project description
mypy-boto3-service-quotas
Type annotations for boto3.ServiceQuotas 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.3.
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.26.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ae8063182aabb0e9f6d52419467b412ba0542c161a1ea09ddbed399f94775d |
|
MD5 | 9c6d9577b7f7874014239f7b456b0bd6 |
|
BLAKE2b-256 | ac6e771ad08287c9f910b942e272015d26c518076c44402189c06591f0a46e9f |
Hashes for mypy_boto3_service_quotas-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 386d8cd18833059420f22fd3c11efe3bcd46b15f1792acbf838df9b9e4fe2c3a |
|
MD5 | 0818d8c5a3ac26266c74bb4f50fd9218 |
|
BLAKE2b-256 | 2893e99af604706b8ebc05e275cbd95831395d762c9d89e03ac28bb37f4886f9 |