Describe the bug
label_studio/io_storages/filesystem.py:10 does from .base import BaseForm, BaseStorage, CloudStorage, but no base module exists in io_storages/ (nearest is base_models.py, which does not define BaseForm or CloudStorage). Importing the module raises ModuleNotFoundError immediately.
A repo-wide search finds zero importers of this module, so nothing currently breaks — but it's a landmine: the first future import crashes. Suggest either deleting the file or fixing the import if it's meant to be live; happy to PR whichever you prefer.
To Reproduce
python -c "import label_studio.io_storages.filesystem" → ModuleNotFoundError: No module named 'label_studio.io_storages.base'
ls label_studio/io_storages/ → no base.py
grep -rn "io_storages.filesystem\|from .filesystem\|import filesystem" label_studio/ → zero importers
Expected behavior
Modules in the package either import cleanly or don't ship.
Screenshots
n/a
Environment (please complete the following information):
- OS: n/a (code-level finding)
- Label Studio Version: develop @ 63fdee0 (2026-07-12)
Additional context
Found while validating DACIP, a static contract-analysis tool I'm building, against open-source codebases.
Describe the bug
label_studio/io_storages/filesystem.py:10doesfrom .base import BaseForm, BaseStorage, CloudStorage, but nobasemodule exists inio_storages/(nearest isbase_models.py, which does not defineBaseFormorCloudStorage). Importing the module raisesModuleNotFoundErrorimmediately.A repo-wide search finds zero importers of this module, so nothing currently breaks — but it's a landmine: the first future import crashes. Suggest either deleting the file or fixing the import if it's meant to be live; happy to PR whichever you prefer.
To Reproduce
python -c "import label_studio.io_storages.filesystem"→ModuleNotFoundError: No module named 'label_studio.io_storages.base'ls label_studio/io_storages/→ nobase.pygrep -rn "io_storages.filesystem\|from .filesystem\|import filesystem" label_studio/→ zero importersExpected behavior
Modules in the package either import cleanly or don't ship.
Screenshots
n/a
Environment (please complete the following information):
Additional context
Found while validating DACIP, a static contract-analysis tool I'm building, against open-source codebases.