Type annotations for boto3.DeviceFarm 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-devicefarm
Type annotations for boto3.DeviceFarm 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 DeviceFarm
service.
python -m pip install boto3-stubs[devicefarm]
Use boto3
with mypy_boto3_devicefarm
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_devicefarm import DeviceFarmClient
# Now mypy can check if your code is valid.
client: DeviceFarmClient = boto3.client("devicefarm")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: DeviceFarmClient = session.client("devicefarm")
# Annotated paginators are included as well
import mypy_boto3_devicefarm.paginator as devicefarm_paginators
get_offering_status_paginator: devicefarm_paginators.GetOfferingStatusPaginator = client.get_paginator("get_offering_status")
list_artifacts_paginator: devicefarm_paginators.ListArtifactsPaginator = client.get_paginator("list_artifacts")
list_device_instances_paginator: devicefarm_paginators.ListDeviceInstancesPaginator = client.get_paginator("list_device_instances")
list_device_pools_paginator: devicefarm_paginators.ListDevicePoolsPaginator = client.get_paginator("list_device_pools")
list_devices_paginator: devicefarm_paginators.ListDevicesPaginator = client.get_paginator("list_devices")
list_instance_profiles_paginator: devicefarm_paginators.ListInstanceProfilesPaginator = client.get_paginator("list_instance_profiles")
list_jobs_paginator: devicefarm_paginators.ListJobsPaginator = client.get_paginator("list_jobs")
list_network_profiles_paginator: devicefarm_paginators.ListNetworkProfilesPaginator = client.get_paginator("list_network_profiles")
list_offering_promotions_paginator: devicefarm_paginators.ListOfferingPromotionsPaginator = client.get_paginator("list_offering_promotions")
list_offering_transactions_paginator: devicefarm_paginators.ListOfferingTransactionsPaginator = client.get_paginator("list_offering_transactions")
list_offerings_paginator: devicefarm_paginators.ListOfferingsPaginator = client.get_paginator("list_offerings")
list_projects_paginator: devicefarm_paginators.ListProjectsPaginator = client.get_paginator("list_projects")
list_remote_access_sessions_paginator: devicefarm_paginators.ListRemoteAccessSessionsPaginator = client.get_paginator("list_remote_access_sessions")
list_runs_paginator: devicefarm_paginators.ListRunsPaginator = client.get_paginator("list_runs")
list_samples_paginator: devicefarm_paginators.ListSamplesPaginator = client.get_paginator("list_samples")
list_suites_paginator: devicefarm_paginators.ListSuitesPaginator = client.get_paginator("list_suites")
list_tests_paginator: devicefarm_paginators.ListTestsPaginator = client.get_paginator("list_tests")
list_unique_problems_paginator: devicefarm_paginators.ListUniqueProblemsPaginator = client.get_paginator("list_unique_problems")
list_uploads_paginator: devicefarm_paginators.ListUploadsPaginator = client.get_paginator("list_uploads")
list_vpce_configurations_paginator: devicefarm_paginators.ListVPCEConfigurationsPaginator = client.get_paginator("list_vpce_configurations")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_devicefarm
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("devicefarm")
session_client = boto3.Session().client("devicefarm")
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-devicefarm-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70a2eb31c64e5168b76e19949b058afec90d358b79b9d9a8672cec6f9ec4306f |
|
MD5 | 1ccb9a3d9f31fac0fb7aba5d80d06984 |
|
BLAKE2b-256 | af1be55e012583475cbc1fbbe5a4128512b75af18414a1f410c13a3667846f74 |
Hashes for mypy_boto3_devicefarm-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d2e3077b25b8eaa1702446d59c3754d1e51fbc39e17ca40727afb25e7f599fc |
|
MD5 | 63c219a731125af47e938f4af913ebf4 |
|
BLAKE2b-256 | 77daffcb4adfa6385e3d15781b4a6209723d63f121d6dd9febbccf42367fd6e2 |