Type annotations for boto3.GroundStation 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-groundstation
Type annotations for boto3.GroundStation 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 GroundStation
service.
python -m pip install boto3-stubs[groundstation]
Use boto3
with mypy_boto3_groundstation
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_groundstation import GroundStationClient
# Now mypy can check if your code is valid.
client: GroundStationClient = boto3.client("groundstation")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: GroundStationClient = session.client("groundstation")
# Annotated paginators are included as well
import mypy_boto3_groundstation.paginator as groundstation_paginators
list_configs_paginator: groundstation_paginators.ListConfigsPaginator = client.get_paginator("list_configs")
list_contacts_paginator: groundstation_paginators.ListContactsPaginator = client.get_paginator("list_contacts")
list_dataflow_endpoint_groups_paginator: groundstation_paginators.ListDataflowEndpointGroupsPaginator = client.get_paginator("list_dataflow_endpoint_groups")
list_ground_stations_paginator: groundstation_paginators.ListGroundStationsPaginator = client.get_paginator("list_ground_stations")
list_mission_profiles_paginator: groundstation_paginators.ListMissionProfilesPaginator = client.get_paginator("list_mission_profiles")
list_satellites_paginator: groundstation_paginators.ListSatellitesPaginator = client.get_paginator("list_satellites")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_groundstation
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("groundstation")
session_client = boto3.Session().client("groundstation")
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-groundstation-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45c0289e91dcaf26a81f3dcc0dfadfa344e6c2b5f6524dc61e384d2f49d70cdd |
|
MD5 | 0120b7f5ae0a9ae2663dbe4c7726d574 |
|
BLAKE2b-256 | 911d4cfdbc5d96f50f5c6c77c4f7c9633d4c6cd6865d94f3a180d84eabc3c88f |
Hashes for mypy_boto3_groundstation-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4cb00e48ee0383a2f9a5b9e9a06d1af6734126fdcb1f51d01dff4bab89eb708 |
|
MD5 | 4b22538c38510f4c5cf924270dab3325 |
|
BLAKE2b-256 | 60e9ba7b47745de458c6bac185f1e8c844d9525de3691ecb54614392ededea08 |