Type annotations for boto3.GroundStation 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-groundstation
Type annotations for boto3.GroundStation 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 GroundStation
service.
python -m pip install boto3-stubs[groundstation]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_groundstation
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_groundstation as groundstation
from mypy_boto3_groundstation import GroundStationClient
# with these
from mypy_boto3 import groundstation
from mypy_boto3.groundstation import GroundStationClient
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.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d242ce0994baeed52400b0058bebb757f1d3062fb4e2205a42ce95b3b9009259 |
|
MD5 | d9f762b51fe4ea9b5aaa47ed98b9ef0f |
|
BLAKE2b-256 | 5a802c5e59b8054fcad2e86ed78cd12056e53158ba36b02d613a981560e8918a |
Hashes for mypy_boto3_groundstation-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1422f14be125a275e7a7b88ef2143cfb377c38b09f5d4efc4a8a4061011f9f |
|
MD5 | 5d4d40de27ea2cc02b3835cf519492da |
|
BLAKE2b-256 | cb714ff6d5301efdd0f088197c67e3f2f1f5a2c28689cd6a2864a2bcb4ce3a91 |