More info about resource deprecation? #3563
Replies: 4 comments 4 replies
-
+1 On top of that, it would be great if you beef up the documentation by providing alternatives to this deprecated feature. For example, many colleagues are using human-friendly DynamoDB resource interfaces. |
Beta Was this translation helpful? Give feedback.
-
Hi @mdavid-xyz and @quiver, thanks for reaching out. I’ll try to help clarify a few things regarding this. The boto3 team is no longer planning to support updates to the resources interface. This isn't a deprecated interface, it is just no longer receiving new features and is very unlikely to get non-trivial bug fixes. The resource interface and functionality will remain intact going forward. It will remain in Boto3 and will operate the same for the lifetime of Boto3. I don’t have any details to share at this point regarding the next major version, but there will announcements with more information in the future. For newer functionality, improvements will primarily be focused on the client interfaces. The current resource methods will provide their existing abstractions but may not be updated. The client methods map to service APIs and feature requests for new API functionality will get redirected to the appropriate service team. |
Beta Was this translation helpful? Give feedback.
-
Hi, @tim-finnigan If you read Reddit(here & here), it's apparent how developers interpreted your warning.
But from what you said, it looks like
Is this what you meant? In the PR(#3539) for this warning, you used the branch name "resource-interface-deprecation-warning" and you also said "This isn't a deprecated interface". What users are concerned about is if they can keep using the resources interface. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your clarification. |
Beta Was this translation helpful? Give feedback.
-
The Resources docs say:
I just had several issues closed because of this.
Can you please provide more information about this deprecation?
What is the "next major version"? Is that boto4? Or will it one day be whatever
pip install boto3
gives?Will the resource methods eventually be deleted from the codebase? Or will they remain frozen as is, until they break?
Will this impact S3 functions that read/write a filename, file-like object etc, instead of a byte array?
(upload_file, upload_fileobj etc)
Has any third party proposed the maintenance of this functionality in a separate library? (Especially for dynamodb, since the low-level API is very difficult to use.)
Beta Was this translation helpful? Give feedback.
All reactions