terricain / aioboto3

Wrapper to use boto3 resources with the aiobotocore async backend
Apache License 2.0
698 stars 73 forks source link

'ResourceCreatorContext' object has no attribute 'Table' #304

Closed henried-li closed 1 year ago

henried-li commented 1 year ago

Description

While using aioboto3 to define dynamodb tables, error of 'ResourceCreatorContext' object has no attribute 'Table' was thrown.

What I Did

import aioboto3

dynamo = aioboto3.Session().resource('dynamodb')
table = dynamo.Table('test_table')
terricain commented 1 year ago

None of that is async python. Check out the readme on how to use it, there's a dynamodb example there.