Type annotations for boto3.Route53Domains 1.13.26 service, generated by mypy-boto3-buider 2.0.2
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.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 Route53Domains
service.
python -m pip install boto3-stubs[route53domains]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_route53domains
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_route53domains as route53domains
from mypy_boto3_route53domains import Route53DomainsClient
# with these
from mypy_boto3 import route53domains
from mypy_boto3.route53domains import Route53DomainsClient
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c93365afb04e119f1e68ef32573244c1bb79aab53daec0a2eee12ff54aa41a12 |
|
MD5 | b1032741ac348daf196d699e9cdb8e75 |
|
BLAKE2b-256 | dd7cddfbedab1a61c2282b0507fdf5f5775ca3803d26b0e6ccca7a2159a5918f |
Hashes for mypy_boto3_route53domains-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b359c76023e985c227eea7d085a045bab1cff284dce1de205d1b9a7fd52e3801 |
|
MD5 | e27208a112286ba4855780d1fcd36b2a |
|
BLAKE2b-256 | d654da2ef0dbc009379ddcfbb80a62f218160d768dd6a19ef4dbc5f5f3620fe2 |