PickwickSoft / pystreamapi

The Python Stream API Library offering Streams like you know from Java/Kotlin/Scala in Python with some cool extensions
https://pystreamapi.pickwicksoft.org/
GNU General Public License v3.0
30 stars 5 forks source link

Individual import of loaders failing when not all optional deps installed #93

Closed garlontas closed 5 days ago

garlontas commented 5 months ago

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.