Type annotations for boto3.CodeGuruReviewer 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-codeguru-reviewer
Type annotations for boto3.CodeGuruReviewer 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 CodeGuruReviewer
service.
python -m pip install boto3-stubs[codeguru-reviewer]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_codeguru_reviewer
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_codeguru_reviewer import CodeGuruReviewerClient
# Now mypy can check if your code is valid.
client: CodeGuruReviewerClient = boto3.client("codeguru-reviewer")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: CodeGuruReviewerClient = session.client("codeguru-reviewer")
# Annotated paginators are included as well
import mypy_boto3_codeguru_reviewer.paginator as codeguru_reviewer_paginators
list_repository_associations_paginator: codeguru_reviewer_paginators.ListRepositoryAssociationsPaginator = client.get_paginator("list_repository_associations")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_codeguru_reviewer
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_codeguru_reviewer as codeguru_reviewer
from mypy_boto3_codeguru_reviewer import CodeGuruReviewerClient
# with these
from mypy_boto3 import codeguru_reviewer
from mypy_boto3.codeguru_reviewer import CodeGuruReviewerClient
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-codeguru-reviewer-1.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c6672dbaaad2676697005d321f2113ab63c4ea7d5bc920cc8a7852d8e24b6e1 |
|
MD5 | f26bbd8d648c5f37e58dde674b5a4544 |
|
BLAKE2b-256 | 899db9516f2aeb9168c68fe18231c45b2f9a96a8e176cb5bea561f504ba4b143 |
Hashes for mypy_boto3_codeguru_reviewer-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6380a7325ad851bfd4ff1fc978d98d6d376fb88181ae2f242c66ae8a5dc3a1 |
|
MD5 | 59b0893bb342eaa123b323f1d51eff51 |
|
BLAKE2b-256 | 64f3959f5c8229fb3c626c62af164778959051d88ee52d2d2a6171d4e0f7338b |