Comments (10)
@vemel 2.5.0.post3
and 2.5.2.post1
work without renaming.
from mypy_boto3_builder.
@YaraslauZhylko aiobotocore 2.5.3
has not been released yet. types-aiobotocore
version is always the same as the corresponding aiobotocore
version, plus post releases in case of urgent fixes.
So, 2.5.2.post1
is the latest, no more updates for today.
Feel free to close the issue if it is resolved.
from mypy_boto3_builder.
Thank you for the report!
I added a fix for this. Now Table
is inherited from aioboto3.dynamodb.table.CustomTableResource
, which is annotated in types-aioboto3
package. I will release a fix today.
from mypy_boto3_builder.
Fixed in mypy_boto3_builder 7.14.8
. Please test and let me know if it works as it should.
I released a new version of types-aiobotocore-dynamodb 2.5.0.post2
with the hotfix.
from mypy_boto3_builder.
This particular error is fixed.
But there seems to be some new issues:
Module "types_aiobotocore_dynamodb.type_defs" has no attribute "UpdateItemOutputTableTypeDef"; maybe "UpdateItemOutputOutputTypeDef"? [attr-defined]
The error is caused by this import:
from types_aiobotocore_dynamodb.type_defs import UpdateItemOutputTableTypeDef
That was not the case in 2.5.0.post1
or 2.5.2
. There was no error importing UpdateItemOutputTableTypeDef
.
from mypy_boto3_builder.
Yes, this is due to the new naming introduced in 7.14.7
. All output shapes now have OutputTypeDef
postfix to differentiate them from input shapes. The issue was that some shapes are used both as input (not all keys are required) and as output (all keys are present). To avoid a name clash, I added OutputTypeDef
postfix, even if the underlying shape itself has Output
in the shape name.
Please update your code, the correct name is UpdateItemOutputOutputTypeDef
now.
from mypy_boto3_builder.
It does seem to work correctly with the new naming in 2.5.0.post2
. Thanks for fixing it.
Should we expect the fixed to be released in 2.5.3
any time soon?
from mypy_boto3_builder.
@YaraslauZhylko yes, I am going to update 2.5.2
as well. No rename required, I am working on a new update that will be compatible with pre-7.14.7
TypeDef
name generation.
from mypy_boto3_builder.
@YaraslauZhylko just released types-aiobotocore-dynamodb 2.5.0.post3
. Please test it and let me know if it works as it should.
Also, there is types-aiobotocore-dynamodb 2.5.2.post1
with the fix included.
from mypy_boto3_builder.
Will there by any other updates today (like 2.5.3
) or should I stay with 2.5.2.post1
for now?
from mypy_boto3_builder.
Related Issues (20)
- Website crashing: best ways to view underlying TypeDefs? HOT 6
- AIOBoto3ServiceResource needs to inherit from contextlib.AbstractAsyncContextManager HOT 8
- Boto3 Config Unsupported Values HOT 2
- `Stubber.__exit__` has incorrect type HOT 3
- `BuiltConditionExpression` has the wrong type HOT 3
- import mypy_boto3_s3 failing in python 3.8: 'ABCMeta' object is not subscriptable HOT 6
- mypy_boto3_dynamodb fails on import HOT 2
- S3 Service resource incorrectly expects Key parameter on some Object methods HOT 6
- Question on inheritance HOT 4
- Incorrect return type for boto3.session.Session.events HOT 3
- Large unnamed inline Union types impacts developer ergonomics HOT 2
- Incorrect Return Type for `S3.Client.select_object_content` HOT 3
- Support meta on aioboto3 Table HOT 1
- Support `async with` on TableWriter HOT 3
- `session.client('...')`: Type of client is partially unknown HOT 1
- isinstance(s3_client, S3Client) is false, should I expect True? HOT 2
- Missing `total=False` on some TypedDict with boto3-stubs>=1.28.3 HOT 7
- `InstanceTypeDef` gone in `mypy-boto3-ec2==1.28.3.post1` HOT 5
- "TypeError: duplicate base class object" for types-aiobotocore-dynamodb version 2.5.2.post1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypy_boto3_builder.