terricain / aioboto3

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

Boto3 .resource are discontinued. What do I do? #289

Closed josebsneto closed 1 year ago

josebsneto commented 1 year ago

Description

I realized that aioboto3 implementations and tests are more .resource than .client. Checking the boto3 lib I saw that the .resource will be discontinued. Is there any strategy to get around this?

I'm about to use aioboto3 + fastapi async using .client, will I have problems with that? If so, are there any recommendations?

thank you very much

terricain commented 1 year ago

.client works perfectly fine. The main reason it focuses on resources are that they usually required specific patching where as asyncifying the .client methods all happens in aiobotocore. Personally I never use the resource methods either and have no issues using .client

josebsneto commented 1 year ago

Does the service .client work fine for Dynamodb? If so, would it be the case to change the readme? https://github.com/terrycain/aioboto3#async-aws-sdk-for-python

terricain commented 1 year ago

Yep as far as im aware all .client's work fine.