HumanSignal / HumanSignal/label-studio-sdk
Local Import Storage error when called for LS deployed in Docker
- Dominant language
- Python
- Stars
- 192
- Forks
- 127
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
Hi! I'm hitting an error when I use python SDK from host machine and attaching local storage for LS in docker container.
It is happening because checks are in place to ensure local storage path exist and root is on it's path - but storage path I'm adding is not on host, but accessible inside container only. It hits this line: https://github.com/heartexlabs/label-studio-sdk/blob/master/label_studio_sdk/project.py#L1650
My workaround is to fallback to generic `client.make_request` and do an API call (awesome that this method exists!) but would be nice to have a `project.connect_local_import_storage()` method work as well, so it aligns with rest of my codebase abstraction level.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.