diff --git a/integration/types_aiobotocore/mypy/s3_example.py.out b/integration/types_aiobotocore/mypy/s3_example.py.out index cb50f93d..af52029d 100644 --- a/integration/types_aiobotocore/mypy/s3_example.py.out +++ b/integration/types_aiobotocore/mypy/s3_example.py.out @@ -1,14 +1,14 @@ -integration/types_aiobotocore/s3_example.py:31: error: Argument 3 to "download_fileobj" of "S3Client" has incompatible type "bytes"; expected "IO[Any] | StreamingBody" [arg-type] -integration/types_aiobotocore/s3_example.py:32: error: Argument "IfModifiedSince" to "get_object" of "S3Client" has incompatible type "None"; expected "datetime | str" [arg-type] -integration/types_aiobotocore/s3_example.py:35: error: Unexpected keyword argument "bucket" for "wait" of "BucketExistsWaiter"; did you mean "Bucket"? [call-arg] -integration/types_aiobotocore/s3_example.py:39: error: Value of type "Coroutine[Any, Any, CreateBucketOutputTypeDef]" is not indexable [index] -integration/types_aiobotocore/s3_example.py:39: note: Maybe you forgot to use "await"? -integration/types_aiobotocore/s3_example.py:42: error: Missing named argument "Key" for "get_object" of "S3Client" [call-arg] -integration/types_aiobotocore/s3_example.py:45: error: TypedDict "GetObjectOutputTypeDef" has no key "expiration" [typeddict-item] -integration/types_aiobotocore/s3_example.py:45: note: Did you mean "Expiration"? -integration/types_aiobotocore/s3_example.py:52: error: Missing key "AllowedOrigins" for TypedDict "CORSRuleTypeDef" [typeddict-item] -integration/types_aiobotocore/s3_example.py:52: error: Extra key "Allowedorigins" for TypedDict "CORSRuleTypeDef" [typeddict-unknown-key] -integration/types_aiobotocore/s3_example.py:59: error: Argument "Key" to "get_object" of "S3Client" has incompatible type "None"; expected "str" [arg-type] -integration/types_aiobotocore/s3_example.py:61: error: "ClientError" has no attribute "operations_name"; maybe "operation_name"? [attr-defined] -integration/types_aiobotocore/s3_example.py:65: error: "AsyncIterator[bytes]" has no attribute "__iter__"; maybe "__aiter__"? (not iterable) [attr-defined] +integration/types_aiobotocore/s3_example.py:30: error: Argument 3 to "download_fileobj" of "S3Client" has incompatible type "bytes"; expected "IO[Any] | StreamingBody" [arg-type] +integration/types_aiobotocore/s3_example.py:31: error: Argument "IfModifiedSince" to "get_object" of "S3Client" has incompatible type "None"; expected "datetime | str" [arg-type] +integration/types_aiobotocore/s3_example.py:34: error: Unexpected keyword argument "bucket" for "wait" of "BucketExistsWaiter"; did you mean "Bucket"? [call-arg] +integration/types_aiobotocore/s3_example.py:38: error: Value of type "Coroutine[Any, Any, CreateBucketOutputTypeDef]" is not indexable [index] +integration/types_aiobotocore/s3_example.py:38: note: Maybe you forgot to use "await"? +integration/types_aiobotocore/s3_example.py:41: error: Missing named argument "Key" for "get_object" of "S3Client" [call-arg] +integration/types_aiobotocore/s3_example.py:44: error: TypedDict "GetObjectOutputTypeDef" has no key "expiration" [typeddict-item] +integration/types_aiobotocore/s3_example.py:44: note: Did you mean "Expiration"? +integration/types_aiobotocore/s3_example.py:51: error: Missing key "AllowedOrigins" for TypedDict "CORSRuleTypeDef" [typeddict-item] +integration/types_aiobotocore/s3_example.py:51: error: Extra key "Allowedorigins" for TypedDict "CORSRuleTypeDef" [typeddict-unknown-key] +integration/types_aiobotocore/s3_example.py:58: error: Argument "Key" to "get_object" of "S3Client" has incompatible type "None"; expected "str" [arg-type] +integration/types_aiobotocore/s3_example.py:60: error: "ClientError" has no attribute "operations_name"; maybe "operation_name"? [attr-defined] +integration/types_aiobotocore/s3_example.py:64: error: "AsyncIterator[bytes]" has no attribute "__iter__"; maybe "__aiter__"? (not iterable) [attr-defined] Found 11 errors in 1 file (checked 1 source file) \ No newline at end of file diff --git a/integration/types_aiobotocore/pyright/s3_example.py.json b/integration/types_aiobotocore/pyright/s3_example.py.json index 6d45bccd..5bbf1eff 100644 --- a/integration/types_aiobotocore/pyright/s3_example.py.json +++ b/integration/types_aiobotocore/pyright/s3_example.py.json @@ -4,11 +4,11 @@ "message": "Argument of type \"Literal[b\"asd\"]\" cannot be assigned to parameter \"Fileobj\" of type \"FileobjTypeDef\" in function \"download_fileobj\"\n\u00a0\u00a0Type \"Literal[b\"asd\"]\" is not assignable to type \"FileobjTypeDef\"\n\u00a0\u00a0\u00a0\u00a0\"Literal[b\"asd\"]\" is not assignable to \"IO[Any]\"\n\u00a0\u00a0\u00a0\u00a0\"Literal[b\"asd\"]\" is not assignable to \"StreamingBody\"", "range": { "start": { - "line": 30, + "line": 29, "character": 55 }, "end": { - "line": 30, + "line": 29, "character": 61 } }, @@ -19,11 +19,11 @@ "message": "Argument of type \"None\" cannot be assigned to parameter \"IfModifiedSince\" of type \"TimestampTypeDef\" in function \"get_object\"\n\u00a0\u00a0Type \"None\" is not assignable to type \"TimestampTypeDef\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is not assignable to \"datetime\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is not assignable to \"str\"", "range": { "start": { - "line": 31, + "line": 30, "character": 76 }, "end": { - "line": 31, + "line": 30, "character": 80 } }, @@ -34,11 +34,11 @@ "message": "Argument missing for parameter \"Bucket\"", "range": { "start": { - "line": 34, + "line": 33, "character": 14 }, "end": { - "line": 34, + "line": 33, "character": 56 } }, @@ -49,11 +49,11 @@ "message": "No parameter named \"bucket\"", "range": { "start": { - "line": 34, + "line": 33, "character": 40 }, "end": { - "line": 34, + "line": 33, "character": 46 } }, @@ -64,11 +64,11 @@ "message": "\"__getitem__\" method not defined on type \"Coroutine[Any, Any, CreateBucketOutputTypeDef]\"", "range": { "start": { - "line": 38, + "line": 37, "character": 8 }, "end": { - "line": 38, + "line": 37, "character": 16 } }, @@ -79,11 +79,11 @@ "message": "Argument missing for parameter \"Key\"", "range": { "start": { - "line": 41, + "line": 40, "character": 26 }, "end": { - "line": 41, + "line": 40, "character": 60 } }, @@ -94,11 +94,11 @@ "message": "Argument of type \"dict[str, list[dict[str, tuple[Literal['get']] | list[str]]]]\" cannot be assigned to parameter \"CORSConfiguration\" of type \"CORSConfigurationTypeDef\" in function \"put_bucket_cors\"\n\u00a0\u00a0\"Allowedorigins\" is an undefined item in type \"CORSRuleTypeDef\"", "range": { "start": { - "line": 51, + "line": 50, "character": 59 }, "end": { - "line": 51, + "line": 50, "character": 75 } }, @@ -109,11 +109,11 @@ "message": "Argument of type \"None\" cannot be assigned to parameter \"Key\" of type \"str\" in function \"get_object\"\n\u00a0\u00a0\"None\" is not assignable to \"str\"", "range": { "start": { - "line": 58, + "line": 57, "character": 57 }, "end": { - "line": 58, + "line": 57, "character": 61 } }, @@ -124,11 +124,11 @@ "message": "Cannot access attribute \"operations_name\" for class \"ClientError\"\n\u00a0\u00a0Attribute \"operations_name\" is unknown", "range": { "start": { - "line": 60, + "line": 59, "character": 20 }, "end": { - "line": 60, + "line": 59, "character": 35 } }, @@ -139,11 +139,11 @@ "message": "\"AsyncIterator[bytes]\" is not iterable\n\u00a0\u00a0\"__iter__\" method not defined", "range": { "start": { - "line": 64, + "line": 63, "character": 21 }, "end": { - "line": 64, + "line": 63, "character": 45 } },