List s3 storages without a project id does not work
qiisziilbash opened this issue · 2 comments
qiisziilbash commented
List s3 storages without a project id does not work
niklub commented
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 commented
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.