mypy-boto3-ecr

Type hints for AWS ECR service in Python boto3 code

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Type annotations for boto3 ECR 1.42.67 service generated with mypy-boto3-builder 8.12.0

Examples

get autocomplete for ECR methods in IDE$ python -c "from mypy_boto3_ecr import ECRClient; client: ECRClient"
check Python code for ECR API type errors$ mypy --plugin mypy_boto3_ecr your_script.py
add type hints to boto3 ECR client in Python$ from mypy_boto3_ecr import ECRClient client = boto3.client('ecr') # type: ECRClient
enable IDE hints for Docker image operations$ from mypy_boto3_ecr.client import ECRClient response = client.describe_images()
validate ECR repository push and pull operations$ from mypy_boto3_ecr import ECRClient client.put_image(repositoryName='my-repo', imageManifest='...')