(self)
close all open connections
close all open connections
close all open connections
def close_all(self):
        """close all open connections"""
        for _, conn in self._connections.items():
            conn.close()
        self._connections = {}
def close_all ( self ) : for _ , conn in self . _connections . items ( ) : conn . close ( ) self . _connections = { }