Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List s3 storages without a project id does not work #243

Open
qiisziilbash opened this issue Jun 13, 2024 · 2 comments
Open

List s3 storages without a project id does not work #243

qiisziilbash opened this issue Jun 13, 2024 · 2 comments

Comments

@qiisziilbash
Copy link

No description provided.

@niklub
Copy link
Contributor

niklub commented Jun 14, 2024

Could you please clarify exactly what you see as an issue or which endpoint you are referring to?
In the current implementation of Label Studio, cloud storages are always attached to the project, and can be retrieved by

s3 = client.import_storage.s3.list(project=PROJECT_ID)

Here is the documentation

Fwiw, I see the error in the documentation at the moment where project parameter is marked as "optional" which is not true - we will fix it soon.

@qiisziilbash
Copy link
Author

FYI: it is not just the documentation of the parameter; even the example api call and response in the documentation shows it is optional; I think making it really optional makes more sense than changing the documentation to be required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants