Type annotations for boto3.ApplicationDiscoveryService 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-discovery
Type annotations for boto3.ApplicationDiscoveryService 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 ApplicationDiscoveryService
service.
python -m pip install boto3-stubs[discovery]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_discovery
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_discovery import ApplicationDiscoveryServiceClient
# Now mypy can check if your code is valid.
client: ApplicationDiscoveryServiceClient = boto3.client("discovery")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ApplicationDiscoveryServiceClient = session.client("discovery")
# Annotated paginators are included as well
import mypy_boto3_discovery.paginator as discovery_paginators
describe_agents_paginator: discovery_paginators.DescribeAgentsPaginator = client.get_paginator("describe_agents")
describe_continuous_exports_paginator: discovery_paginators.DescribeContinuousExportsPaginator = client.get_paginator("describe_continuous_exports")
describe_export_configurations_paginator: discovery_paginators.DescribeExportConfigurationsPaginator = client.get_paginator("describe_export_configurations")
describe_export_tasks_paginator: discovery_paginators.DescribeExportTasksPaginator = client.get_paginator("describe_export_tasks")
describe_tags_paginator: discovery_paginators.DescribeTagsPaginator = client.get_paginator("describe_tags")
list_configurations_paginator: discovery_paginators.ListConfigurationsPaginator = client.get_paginator("list_configurations")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_discovery
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_discovery as discovery
from mypy_boto3_discovery import ApplicationDiscoveryServiceClient
# with these
from mypy_boto3 import discovery
from mypy_boto3.discovery import ApplicationDiscoveryServiceClient
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-discovery-1.13.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d5079a3832a2d7d12e609c6b9e6ca973dc1c93820d0fd03d4f20e86bdccba8 |
|
MD5 | 60b3fc55ead86ca5df8b759ef91e4963 |
|
BLAKE2b-256 | 64939e135c2c7539551cb7c3583736cb2d38fb45c10bc57a6710c0a3ed53e0c9 |
Hashes for mypy_boto3_discovery-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a34ae61ba07c4eefdda41adc0f782b230425f33d143df03da12c7cb159e57074 |
|
MD5 | 05b4efd4b4f187c5c8358768838401f0 |
|
BLAKE2b-256 | 684aef98bb1c3dc0f0dd2ad8185b7eac7956f395a5373e8ec595390fd06e8ad6 |