pystreamapi icon indicating copy to clipboard operation
pystreamapi copied to clipboard

Individual import of loaders failing when not all optional deps installed

Open garlontas opened this issue 1 year ago • 0 comments

Describe the bug When importing a loader without all optional loaders being installed, the import will fail. This happens due to the direct imports in the __all__ list of the module declaration.

To Reproduce pip install streams-py

from pystreamapi.loaders import csv fails.

Expected behavior The loaders should not depend on each other.

garlontas avatar Jun 08 '24 17:06 garlontas