Closed janpeter123 closed 2 weeks ago
Thank you @janpeter123 for informing , we have created an internal ticket for this and we will be updating the documentation in the next release.
@janpeter123 The documentation issues are fixed. Can you please check and close this ticket.
Closing as fix already provided.
Problem Description
The code snippet available on this official documentation does not work properly. https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-python
When I try to copy and paste from both the
client
approach and theresource
approach the example function provided to list my buckets does not work.On the documentation is not clear at all of which method the user should be using if it's the client approach or the resource approach.
Problem Solution
What it worked for me was the following snippet
Please change the documentation, it took a long time for me an ibmer used to IBM products to find the correct way. What I needed to do was to generate code automatically through cloud pak for data. Clients would take a lot longer.