Skip to main content

Type annotations for boto3.Personalize 1.13.25 service, generated by mypy-boto3-buider 2.0.2

Project description

mypy-boto3-personalize

PyPI - mypy-boto3-personalize PyPI - Python Version Docs

Type annotations for boto3.Personalize 1.13.25 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 Personalize service.

python -m pip install boto3-stubs[personalize]

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

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

import boto3

from mypy_boto3_personalize import PersonalizeClient

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

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



# Annotated paginators are included as well

import mypy_boto3_personalize.paginator as personalize_paginators

list_batch_inference_jobs_paginator: personalize_paginators.ListBatchInferenceJobsPaginator = client.get_paginator("list_batch_inference_jobs")
list_campaigns_paginator: personalize_paginators.ListCampaignsPaginator = client.get_paginator("list_campaigns")
list_dataset_groups_paginator: personalize_paginators.ListDatasetGroupsPaginator = client.get_paginator("list_dataset_groups")
list_dataset_import_jobs_paginator: personalize_paginators.ListDatasetImportJobsPaginator = client.get_paginator("list_dataset_import_jobs")
list_datasets_paginator: personalize_paginators.ListDatasetsPaginator = client.get_paginator("list_datasets")
list_event_trackers_paginator: personalize_paginators.ListEventTrackersPaginator = client.get_paginator("list_event_trackers")
list_recipes_paginator: personalize_paginators.ListRecipesPaginator = client.get_paginator("list_recipes")
list_schemas_paginator: personalize_paginators.ListSchemasPaginator = client.get_paginator("list_schemas")
list_solution_versions_paginator: personalize_paginators.ListSolutionVersionsPaginator = client.get_paginator("list_solution_versions")
list_solutions_paginator: personalize_paginators.ListSolutionsPaginator = client.get_paginator("list_solutions")

Automated type discovery

mypy_boto3 package can generate index for mypy_boto3_personalize 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_personalize as personalize
from mypy_boto3_personalize import PersonalizeClient

# with these
from mypy_boto3 import personalize
from mypy_boto3.personalize import PersonalizeClient

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-personalize-1.13.25.0.tar.gz (10.5 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_personalize-1.13.25.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-personalize-1.13.25.0.tar.gz.

File metadata

  • Download URL: mypy-boto3-personalize-1.13.25.0.tar.gz
  • Upload date:
  • Size: 10.5 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-personalize-1.13.25.0.tar.gz
Algorithm Hash digest
SHA256 88fd10e19f089339fae57f207680b2e809bd796df58cb3e0a465f239a0871446
MD5 7667cda163b7c1206c0af7cab6e71d1c
BLAKE2b-256 84a881dee1a12b109524fe61cf56c966c8fa75494f1eb1a51f6eaf7d37258b13

See more details on using hashes here.

File details

Details for the file mypy_boto3_personalize-1.13.25.0-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_personalize-1.13.25.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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_personalize-1.13.25.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c45a730abd8b134c46b45207b0b5a05e46733a2a218169b283fffdcc7bd3c47
MD5 4bdef109dba73ca37d73316706c149a4
BLAKE2b-256 642353b8c663a94e7764815b48d54563d15de714bdbbe1abf8b2588822fa9357

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