Add warnings to deprecated OBJ API usage - #410
Conversation
| } | ||
|
|
||
|
|
||
| @deprecated( |
There was a problem hiding this comment.
Since we need to deprecate the cluster-view, I assume that we want to deprecate the ObjectStorageCluster class. I'm also wondering if we should move the function buckets_in_cluster from here to the obj_storage group.
There was a problem hiding this comment.
I think it's a good idea 👍
ykim-akamai
left a comment
There was a problem hiding this comment.
Nice thanks for updating this
|
|
|
import warnings
def deprecated_feature():
warnings.warn("deprecated", DeprecationWarning)Never mind, now I think |
|
There will also be a deprecated decorator the standard library of Python 3.13, but we probably can't use it during these years since it's not available in earlier versions of Python. |
📝 Description
Add warnings in docs and to related functions to deprecate two endpoints: cluster-view and cluster-list.