On Tuesday, February 20, 2024 at 03:59:19 PM EST, Albert Braden <ozzzo@yahoo.com> wrote:
I'm writing a script that will use admin credentials to check user projects for containers. I'm already doing something similar for non-swift accounts, doing things like:
cloud.network.networks(project_id=projectid):
I read here about the Object SDK:
And I tried this:
cloud.object_store.containers(project_id=projectid):
But I get an error:
Invalid query params: project_id
I read the Object SDK document here and it doesn't seem to say anything about how to specify a project:
But when I read the Swift API document, I see that I can use "/v1/{account}/{container}", so I'm guessing that there must be a way to do it via the SDK.
Is it possible to specify the project in an Object SDK call, or do I need to use the old python API for this?