'ResourceCreatorContext' object has no attribute 'Table'
henried-li opened this issue · comments
Henry Li commented
- Async AWS SDK for Python version: 11.2
- Python version: 3.10.9
- Operating System: MacOS
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')
Terri Cain commented
None of that is async python. Check out the readme on how to use it, there's a dynamodb example there.