terricain / aioboto3

Wrapper to use boto3 resources with the aiobotocore async backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boto3 .resource are discontinued. What do I do?

josebsneto opened this issue · comments

  • Async AWS SDK for Python version: latest
  • Python version: latest
  • Operating System: Linux LTS latest

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

.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

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

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