Type annotations for boto3.GroundStation 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-groundstation
Type annotations for boto3.GroundStation 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 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.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b6e92f00dd1aba8f897641b5c501f139cfe19167aafa93e5ac3ccf4edfc51a |
|
MD5 | 89f8bd5bf070dd4d29a2be91ba1fa267 |
|
BLAKE2b-256 | fca422cf42deca80b467422c82893c99ed8d110c29bae976667538209804af2f |
Hashes for mypy_boto3_groundstation-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed07283f8aaa0bf013732d178e284b83a78017f41e29999035b82ceba8de40be |
|
MD5 | d49439e3bc93289281dc3403d0601ac9 |
|
BLAKE2b-256 | 42e3f3a6bffff28675a1d269f008a8a42e94fa1275ac9adf2fe6f30b0d4b981e |