We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e0998 commit f6ddc14Copy full SHA for f6ddc14
cubedash/summary/_stores.py
@@ -328,7 +328,12 @@ def create(
328
)
329
330
def close(self) -> None: # do we still need this?
331
- """Close any pooled/open connections. Necessary before forking."""
+ """Close any pooled/open connections. Necessary before forking.
332
+
333
+ Also useful during testing.
334
+ """
335
+ # This is going to do the same .dispose() twice, but, it's a noop the second time
336
+ # and will be safer until we can tidy up handling of the SQLAlchemy connections
337
self.index.close()
338
self.e_index.engine.dispose()
339
0 commit comments