def close_all(self):
        for alias in self:
            try:
                connection = getattr(self._connections, alias)
            except __HOLE__:
                continue
            connection.close()
dataset/ETHPy150Open django/django/django/db/utils.py/ConnectionHandler.close_all