Type annotations for boto3.Route53Domains 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-route53domains
Type annotations for boto3.Route53Domains 1.14.0 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.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca10f71316da7864281464bfe86b7cb8b10f8f9fb83b4d6aea73651b0f1feac |
|
MD5 | 3c155a32957c97e28fe16fa58af97d22 |
|
BLAKE2b-256 | a6dfe5f8104550b2adaf42edf48e80cbc85891a3d3f5c30998f19c1b7ab24b4f |
Hashes for mypy_boto3_route53domains-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260ca4dccc7cc8a360fac7279fd35fb962258478c41981e462205f3af63e0e32 |
|
MD5 | d82535de017777fee35b9425363efbdc |
|
BLAKE2b-256 | 9c22364746ef428f82597fb3e2fbefcf7bf9e07d9da3d100656c051f7526bea4 |