Skip to main content

Type annotations for boto3.Support 1.13.26 service, generated by mypy-boto3-buider 2.0.3

Project description

mypy-boto3-support

PyPI - mypy-boto3-support PyPI - Python Version Docs

Type annotations for boto3.Support 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.

Generated by mypy-boto3-buider 2.0.3.

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 Support service.

python -m pip install boto3-stubs[support]

# update installed packages index for automated type discovery
python -m mypy_boto3

Use boto3 with mypy_boto3_support in your project and enjoy type checking and auto-complete.

import boto3

from mypy_boto3_support import SupportClient

# Now mypy can check if your code is valid.
client: SupportClient = boto3.client("support")

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: SupportClient = session.client("support")



# Annotated paginators are included as well

import mypy_boto3_support.paginator as support_paginators

describe_cases_paginator: support_paginators.DescribeCasesPaginator = client.get_paginator("describe_cases")
describe_communications_paginator: support_paginators.DescribeCommunicationsPaginator = client.get_paginator("describe_communications")

Automated type discovery

mypy_boto3 package can generate index for mypy_boto3_support 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 expected
  • PyCharm also supports function overloads, but consumes a lot of RAM, use carefully
  • VSCode does not currently support function overloads

Also, generated index allows you to import types from mypy_boto3:

# you can replace imports
import mypy_boto3_support as support
from mypy_boto3_support import SupportClient

# with these
from mypy_boto3 import support
from mypy_boto3.support import SupportClient

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

mypy-boto3-support-1.13.26.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_support-1.13.26.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-support-1.13.26.1.tar.gz.

File metadata

  • Download URL: mypy-boto3-support-1.13.26.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mypy-boto3-support-1.13.26.1.tar.gz
Algorithm Hash digest
SHA256 5418018ea06ccfed05099f01f695cf065f6486ffe1f9fcd9b630dd47d1737b5f
MD5 02ff44638a1da7a044f34351261a838f
BLAKE2b-256 c1eb301a8a7e39ca2e4e6f065cb2503ae1ee8d7488cebde2101d0f626d8ea241

See more details on using hashes here.

File details

Details for the file mypy_boto3_support-1.13.26.1-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_support-1.13.26.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mypy_boto3_support-1.13.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4064f117fb02753a9277c056afd78998a403dac571a205d8b32f754666867e48
MD5 e5563ff43f9354837951c2cfcde77b24
BLAKE2b-256 d0f65b2091a6a010577e3ea61cdbb15838a1bf5e3e7c324542b08bdebeaedb2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page