(self)
Clear the adapters. This is useful for tests, which change configs.
Clear the adapters. This is useful for tests, which change configs.
Clear the adapters . This is useful for tests which change configs .
def reset_adapters(self):
        """Clear the adapters. This is useful for tests, which change configs.
        """
        with self.lock:
            for adapter in self.adapters.values():
                adapter.cleanup_connections()
            self.adapters.clear()
def reset_adapters ( self ) : with self . lock : for adapter in self . adapters . values ( ) : adapter . cleanup_connections ( ) self . adapters . clear ( )