Type annotations for boto3.Route53Domains 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-route53domains
Type annotations for boto3.Route53Domains 1.13.26 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 Route53Domains
service.
python -m pip install boto3-stubs[route53domains]
Use boto3
with mypy_boto3_route53domains
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_route53domains import Route53DomainsClient
# Now mypy can check if your code is valid.
client: Route53DomainsClient = boto3.client("route53domains")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: Route53DomainsClient = session.client("route53domains")
# Annotated paginators are included as well
import mypy_boto3_route53domains.paginator as route53domains_paginators
list_domains_paginator: route53domains_paginators.ListDomainsPaginator = client.get_paginator("list_domains")
list_operations_paginator: route53domains_paginators.ListOperationsPaginator = client.get_paginator("list_operations")
view_billing_paginator: route53domains_paginators.ViewBillingPaginator = client.get_paginator("view_billing")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_route53domains
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("route53domains")
session_client = boto3.Session().client("route53domains")
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-route53domains-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a038189b5f9059609013dd8553c7c42493af1e0ba278d9be756684db0098400 |
|
MD5 | 84fc102f6974c358961e7c42763030d9 |
|
BLAKE2b-256 | da44736bf951b4a781305af8bc07495635fb7460b61716ea45c23cadfb586ad3 |
Hashes for mypy_boto3_route53domains-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f72a9f7e1c47fe6e662c284fab056e53f9821408e4394ca41923b057b9b6fd4 |
|
MD5 | f4b1996fb31d5e5c9eab697c22b3ccc9 |
|
BLAKE2b-256 | 56877949e161e9757a060666d2c0915f91eaa1acac61c14e6a7ea26b2b38d365 |