(self, initialized_only=False)
| 73 | return iter(self.settings) |
| 74 | |
| 75 | def all(self, initialized_only=False): |
| 76 | return [ |
| 77 | self[alias] |
| 78 | for alias in self |
| 79 | # If initialized_only is True, return only initialized connections. |
| 80 | if not initialized_only or hasattr(self._connections, alias) |
| 81 | ] |
| 82 | |
| 83 | def close_all(self): |
| 84 | for conn in self.all(initialized_only=True): |
no outgoing calls