boto3_type_annotations
boto3_type_annotations copied to clipboard
Deprecated. A maintained fork is available at https://github.com/vemel/mypy_boto3
this is missing the README.md the setup.py is looking for possibly a bug. specially when building from source
I keep getting variations of this message, e.g. > Argument 1 to "client" has incompatible type "Literal['ecs']"; expected "Literal['dynamodb']" or > Argument 1 to "client" has incompatible type "Literal['ecs']"; expected...
Hi! This looks great. Currently, there seems to be no way to use this properly with a type checker (such as mypy) to validate code. From their documentation (https://mypy.readthedocs.io/en/latest/installed_packages.html and...
Consider the following test file: ``` import boto3 from boto3_type_annotations.s3 import Bucket bucket: Bucket = boto3.resource("s3").Bucket('asd') ``` And the following Dockerfile: ``` FROM python:3.7 RUN pip install boto3 boto3_type_annotations mypy...
Following MyPy's requested format documented in [PEP 561](https://www.python.org/dev/peps/pep-0561/#stub-only-packages), I renamed the main module per the mandated naming scheme. When used with MyPy, this actually works quite well. However, I currently...
I was trying out this package with a very simple piece of code but I cannot get it to work as I would expect: ```python import boto3 from boto3_type_annotations.s3 import...
It's there in boto3 but missing from annotations
Any idea why "routes" attribute is missing on RouteTable type? https://github.com/alliefitter/boto3_type_annotations/blob/793d4a954eb24736a45f3ef6e9beaae1bbe135ab/boto3_type_annotations/boto3_type_annotations/ec2/service_resource.py#L624 I seem to be able to use it through boto3 