druid-io / pydruid

A Python connector for Druid
Other
505 stars 194 forks source link

inadvertent hard dependency on sqlalchemy #313

Closed cpcloud closed 4 months ago

cpcloud commented 5 months ago

I can't use this library without sqlalchemy it seems.

In https://github.com/druid-io/pydruid/blob/master/pydruid/db/exceptions.py, there's an unconditional import of sqlalchemy.exc.

I would like to be able to use pydruid without having to depend on sqlalchemy solely to pull in a single exception type.