DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 313 forks source link

Workspace.close() is not implemanted #494

Open EmmaGuo910 opened 3 years ago

EmmaGuo910 commented 3 years ago

I needed to close open connections while using multi-processing. I looked up the documentation, it said there was close() method, but there is not.

It made me crazy when there was too many connections

looking forward to your reply, thanks

pdsparks commented 3 years ago

I'm not sure about this problem - but I have found during a recent reinstallation of cubes that working with a lower version of SQLAlchemy has solved many problems.

If using pip:

pip uninstall sqlalchemy

pip install sqlalchemy==0.7.4

Other versions may work, but I went straight to the version that I know works reliably.